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:tomcatDetails
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.36Fix
# pom.xml: bump <version>6.0.36</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat
Introduced in:
7.0.0Fixed in: 7.0.30Fix
# pom.xml: bump <version>7.0.30</version> for org.apache.tomcat:tomcatReferences
- https://nvd.nist.gov/vuln/detail/CVE-2012-3546[ADVISORY]
- https://github.com/apache/tomcat/commit/f78c0cdfc8a3c2efdfe6df6b69e5e3daafa3f588[WEB]
- https://github.com/apache/tomcat[PACKAGE]
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19305[WEB]
- https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1377892[WEB]
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html[WEB]
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html[WEB]
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html[WEB]
- http://marc.info/?l=bugtraq&m=136612293908376&w=2[WEB]
- http://marc.info/?l=bugtraq&m=139344343412337&w=2[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0004.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0005.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0146.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0147.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0151.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0157.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0158.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0162.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0163.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0164.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0191.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0192.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0194.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0195.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0196.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0198.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0221.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0235.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0623.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0640.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0641.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0642.html[WEB]
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java?r1=1377892&r2=1377891&pathrev=1377892[WEB]
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1377892&r2=1377891&pathrev=1377892[WEB]
- http://svn.apache.org/viewvc?view=revision&revision=1377892[WEB]
- http://tomcat.apache.org/security-6.html[WEB]
- http://tomcat.apache.org/security-7.html[WEB]