ADVISORIES

GitHub Advisory Database

GHSA-jgm2-m5cg-f66g

Authentication Bypass in Apache Tomcat

Moderate CVE-2012-3546

Details

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

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
From 6.0.0 before 6.0.36 (fixed in 6.0.36)
Mavenorg.apache.tomcat:tomcat
From 7.0.0 before 7.0.30 (fixed in 7.0.30)

References