CVE-2011-1271
Description
The JIT compiler in Microsoft .NET Framework 3.5 Gold and SP1, 3.5.1, and 4.0, when IsJITOptimizerDisabled is false, does not properly handle expressions related to null strings, which allows context-dependent attackers to bypass intended access restrictions, and consequently execute arbitrary code, in opportunistic circumstances by leveraging a crafted application, as demonstrated by (1) a crafted XAML browser application (aka XBAP), (2) a crafted ASP.NET application, or (3) a crafted .NET Framework application, aka ".NET Framework JIT Optimization Vulnerability."
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Microsoft .NET Framework JIT Compiler - Optimization NULL String Remote Code Execution
OS impact
Windows Fixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| r2 | Not affected | โ |
| - | Not affected | โ |
| โ | Not affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| microsoft | .net_framework | 4.0 | |
| microsoft | .net_framework | 3.5.1 | |
| microsoft | .net_framework | 2.0 | |
| microsoft | .net_framework | 3.5 | |
References
- http://stackoverflow.com/questions/2135509/bug-only-occurring-when-compile-optimization-enabled/
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-044
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12686
- http://stackoverflow.com/questions/2135509/bug-only-occurring-when-compile-optimization-enabled/
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-044
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12686
CWEs
CWE-264 CWE-476
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.