CVE-2011-5063 Improper Authentication in Apache Tomcat

Medium 4.3 Published Updated

Remote attackers can bypass access restrictions in Apache Tomcat by exploiting unchecked realm values in HTTP Digest Authentication when weaker protection spaces are available.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-5063?

CVE-2011-5063 is a medium-severity authentication bypass vulnerability in Apache Tomcat, published on 14 Jan 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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 does not check realm values, which might allow remote attackers to bypass intended access restrictions by leveraging the availability of a protection space with weaker authentication or authorization requirements, a different vulnerability than CVE-2011-1184.

Weakness: CWE-287

Which versions are affected by CVE-2011-5063?

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

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2011-5063 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-hffm-fqv4-w27r.

Is CVE-2011-5063 in your software?

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

Check your SBOMs for free