CVE-2011-2481: File modification in Apache Tomcat
Summary
CVE-2011-2481: Apache Tomcat Allows Replacing of XML Parser. Affects org.apache.tomcat:tomcat versions >= 7.0.0, < 7.0.17. Fixed in 7.0.17. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications. It provides a Java Servlet and JavaServer Pages (JSP) environment for running web applications. The vulnerability in Apache Tomcat 7.0.x before 7.0.17 allows local users to read or modify the web.xml, context.xml, or tld files of arbitrary web applications. This vulnerability exists due to a regression of CVE-2009-0783.
Vulnerability Detail
The vulnerability in Apache Tomcat 7.0.x allows web applications to replace the XML parser used by other web applications. This enables a local user to read or modify the configuration files (web.xml, context.xml, or tld files) of arbitrary web applications. An attacker can craft a malicious application that is loaded earlier than the target application, allowing them to gain unauthorized access to sensitive information or modify the behavior of the target application.
How To Fix
Minimum fixed version
7.0.17
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to apply the fix provided by upgrading to Apache Tomcat 7.0.17 or later.
Conclusion
The vulnerability in Apache Tomcat 7.0.x allows local users to read or modify the configuration files of arbitrary web applications. It is recommended to upgrade to Apache Tomcat 7.0.17 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for org.apache.tomcat:tomcat →
FAQ
Apache Tomcat is an open-source web server and servlet container that is used to deploy Java-based web applications.
This vulnerability allows local users to read or modify the configuration files of arbitrary web applications, potentially leading to unauthorized access or modification of sensitive information.
To fix this vulnerability, it is recommended to upgrade to Apache Tomcat 7.0.17 or later.
There is no known workaround for this vulnerability. It is recommended to apply the fix provided by upgrading to Apache Tomcat 7.0.17 or later.
You can find more information about this vulnerability in the CVE-2011-2481 advisory.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.tomcat:tomcat.