Live threats

All CVEs / Apache

CVE-2012-3546Apache Tomcat

Medium 4.3 No auth neededHigh EPSS

Priority
42
CVSS 2.0
4.3
EPSS
12.0%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Dec 19, 2012
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat ≥ 6.0.0 < 6.0.36 6.0.36 —
Maven org.apache.tomcat:tomcat ≥ 7.0.0 < 7.0.30 7.0.30 —

Per OSV / GitHub Advisories (GHSA-jgm2-m5cg-f66g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat6.0
apachetomcat6.0.0
apachetomcat6.0.0
apachetomcat6.0.1
apachetomcat6.0.1
apachetomcat6.0.2
apachetomcat6.0.2
apachetomcat6.0.2
apachetomcat6.0.3
apachetomcat6.0.4
apachetomcat6.0.5
apachetomcat6.0.6
apachetomcat6.0.7
apachetomcat6.0.8
apachetomcat6.0.9
apachetomcat6.0.9
apachetomcat6.0.10
apachetomcat6.0.11
apachetomcat6.0.12
apachetomcat6.0.13
apachetomcat6.0.14
apachetomcat6.0.15
apachetomcat6.0.16
apachetomcat6.0.17
apachetomcat6.0.18
apachetomcat6.0.19
apachetomcat6.0.20
apachetomcat6.0.24
apachetomcat6.0.26
apachetomcat6.0.27
apachetomcat6.0.28
apachetomcat6.0.29
apachetomcat6.0.30
apachetomcat6.0.31
apachetomcat6.0.32
apachetomcat6.0.33
apachetomcat6.0.35
apachetomcat7.0.0
apachetomcat7.0.0
apachetomcat7.0.1
apachetomcat7.0.2
apachetomcat7.0.2
apachetomcat7.0.3
apachetomcat7.0.4
apachetomcat7.0.4
apachetomcat7.0.5
apachetomcat7.0.6
apachetomcat7.0.7
apachetomcat7.0.8
apachetomcat7.0.9
apachetomcat7.0.10
apachetomcat7.0.11
apachetomcat7.0.12
apachetomcat7.0.13
apachetomcat7.0.14
apachetomcat7.0.15
apachetomcat7.0.16
apachetomcat7.0.17
apachetomcat7.0.18
apachetomcat7.0.19

and 6 more in the JSON

Official sources

References

Links published by the sources. Open them with care.