VDB
Sign up
MEDIUM

GHSA-jgm2-m5cg-f66g

Authentication Bypass in Apache Tomcat

Quick fix

GHSA-jgm2-m5cg-f66g — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.0.36</version> for org.apache.tomcat:tomcat

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.36
Fix# pom.xml: bump <version>6.0.36</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 7.0.0Fixed in: 7.0.30
Fix# pom.xml: bump <version>7.0.30</version> for org.apache.tomcat:tomcat

References