GHSA-jgm2-m5cg-f66g

Authentication Bypass in Apache Tomcat

At a glance

Published
Updated
CVE
CVE-2012-3546

Description

org/apache/catalina/realm/RealmBase.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.30, when FORM authentication is used, allows remote attackers to bypass security-constraint checks by leveraging a previous setUserPrincipal call and then placing /j_security_check at the end of a URI.

Affected packages

PackageVersions
Maven · org.apache.tomcat:tomcatintroduced 6.0.0, fixed 6.0.36
Maven · org.apache.tomcat:tomcatintroduced 7.0.0, fixed 7.0.30

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database