CVEfocus › CVE database › CVE-2012-3546

CVE-2012-3546

EPSS 12.0% (higher than 96% of CVEs)Published 2012-12-19Updated 2024-08-06Assigner: redhat

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.

What to do

Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Maven, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 6tomcat6Fixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-admin-webappsFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-docs-webappFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-javadocFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-libFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 6tomcat6-webappsFixed0:6.0.24-52.el6_4RHSA-2013:0623
Red Hat Enterprise Linux 5tomcat5Fixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-admin-webappsFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-common-libFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-jasperFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-jasper-javadocFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-jsp-2.0-apiFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-jsp-2.0-api-javadocFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-server-libFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-servlet-2.4-apiFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-servlet-2.4-api-javadocFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hat Enterprise Linux 5tomcat5-webappsFixed0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Maven libraryorg.apache.tomcat:tomcatFixed6.0.36GHSA-jgm2-m5cg-f66g

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.