CVE-2011-1271 Code injection in n/a
Attackers can execute arbitrary code by exploiting a JIT compiler flaw in .NET Framework when optimization is enabled, bypassing access restrictions via crafted applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2011-1271?
CVE-2011-1271 is a high-severity code injection vulnerability in Microsoft .Net Framework, published on 10 May 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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."
Which versions are affected by CVE-2011-1271?
It affects 1 product.
Products include Microsoft .Net Framework.
How do I fix CVE-2011-1271?
No fix has been published for CVE-2011-1271 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2011-1271 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1271 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Microsoft .Net Framework
Sources
Also known as GHSA-w649-2qr9-fg6v.