CVE-2011-2526 Improper Input Validation in Apache Tomcat

Medium 4.4 Published Updated

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.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenAll versions5.5.34
org.apache.tomcat:tomcat MavenAll versions5.5.34
org.apache.tomcat:tomcat MavenFrom 6.0.06.0.33
org.apache.tomcat:tomcat MavenFrom 6.0.06.0.33
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.19
org.apache.tomcat:tomcat MavenFrom 7.0.07.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.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-9ggm-7897-x4mg.

Is CVE-2011-2526 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free