CVE-2011-2481 Apache Tomcat Allows Replacing of XML Parser
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.17 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.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.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-r7c8-hghc-2mp8.