CVE-2011-2204 Insertion of Sensitive Information into Log File in Apache Tomcat

Low 1.9 Published Updated

Local attackers can read log files to obtain sensitive passwords when MemoryUserDatabase is enabled and JMX errors occur.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-2204?

CVE-2011-2204 is a low-severity vulnerability in Apache Tomcat, published on 29 Jun 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.17, when the MemoryUserDatabase is used, creates log entries containing passwords upon encountering errors in JMX user creation, which allows local users to obtain sensitive information by reading a log file.

Weakness: CWE-200

Which versions are affected by CVE-2011-2204?

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

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 5.5.05.5.34
org.apache.tomcat:tomcat MavenFrom 5.5.05.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-2204?

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-2204 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-c57p-3v2g-w9rg.

Is CVE-2011-2204 in your software?

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

Check your SBOMs for free