CVE-2011-5064 Use of Hard-coded Cryptographic Key in Apache Tomcat

Medium 4.3 Published Updated

Remote attackers can bypass HTTP Digest authentication in Apache Tomcat by exploiting a hard-coded server secret, allowing unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-5064?

CVE-2011-5064 is a medium-severity vulnerability in Apache Tomcat, published on 14 Jan 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

DigestAuthenticator.java in the HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.34, 6.x before 6.0.33, and 7.x before 7.0.12 uses Catalina as the hard-coded server secret (aka private key), which makes it easier for remote attackers to bypass cryptographic protection mechanisms by leveraging knowledge of this string, a different vulnerability than CVE-2011-1184.

Weakness: CWE-310

Which versions are affected by CVE-2011-5064?

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.12
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.12

Products include Apache Tomcat.

How do I fix CVE-2011-5064?

Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 5.5.34, 6.0.33 or 7.0.12.

Is CVE-2011-5064 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-6cr4-7c7p-p3xv.

Is CVE-2011-5064 in your software?

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

Check your SBOMs for free