CVE-2011-2481 Apache Tomcat Allows Replacing of XML Parser

Medium 4.6 Published Updated

Local attackers can read or modify configuration files of other web applications by replacing the shared XML parser in Apache Tomcat.

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-2481?

CVE-2011-2481 is a medium-severity missing authorization vulnerability in Apache Tomcat, published on 15 Aug 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Apache Tomcat 7.0.x before 7.0.17 permits web applications to replace an XML parser used for other web applications, which allows local users to read or modify the (1) web.xml, (2) context.xml, or (3) tld files of arbitrary web applications via a crafted application that is loaded earlier than the target application. NOTE: this vulnerability exists because of a CVE-2009-0783 regression.

Which versions are affected by CVE-2011-2481?

2 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.17
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.17

Products include Apache Tomcat.

How do I fix CVE-2011-2481?

Upgrade org.apache.tomcat:tomcat to 7.0.17 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2011-2481 being exploited?

There is no known exploitation of CVE-2011-2481 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-r7c8-hghc-2mp8.

Is CVE-2011-2481 in your software?

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

Check your SBOMs for free