CVE-2011-2526 Improper Input Validation in Apache Tomcat
Local attackers can bypass file access restrictions or cause denial of service in Apache Tomcat when sendfile is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-2526?
CVE-2011-2526 is a medium-severity vulnerability in Apache Tomcat, published on 14 Jul 2011. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Apache Tomcat 5.5.x before 5.5.34, 6.x before 6.0.33, and 7.x before 7.0.19, when sendfile is enabled for the HTTP APR or HTTP NIO connector, does not validate certain request attributes, which allows local users to bypass intended file access restrictions or cause a denial of service (infinite loop or JVM crash) by leveraging an untrusted web application.
Weakness: CWE-20
Which versions are affected by CVE-2011-2526?
6 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | All versions | 5.5.34 |
org.apache.tomcat:tomcat Maven | All versions | 5.5.34 |
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.33 |
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.33 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.19 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.19 |
Products include Apache Tomcat.
How do I fix CVE-2011-2526?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 5.5.34, 6.0.33 or 7.0.19.
Is CVE-2011-2526 being exploited?
There is no known exploitation of CVE-2011-2526 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-9ggm-7897-x4mg.