CVE-2012-3546

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

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.

References

http://archives.neohapsis.com/archives/bugtraq/2012-12/0044.html

http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html

http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html

http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html

http://marc.info/?l=bugtraq&m=136612293908376&w=2

http://marc.info/?l=bugtraq&m=139344343412337&w=2

http://rhn.redhat.com/errata/RHSA-2013-0004.html

http://rhn.redhat.com/errata/RHSA-2013-0005.html

http://rhn.redhat.com/errata/RHSA-2013-0146.html

http://rhn.redhat.com/errata/RHSA-2013-0147.html

http://rhn.redhat.com/errata/RHSA-2013-0151.html

http://rhn.redhat.com/errata/RHSA-2013-0157.html

http://rhn.redhat.com/errata/RHSA-2013-0158.html

http://rhn.redhat.com/errata/RHSA-2013-0162.html

http://rhn.redhat.com/errata/RHSA-2013-0163.html

http://rhn.redhat.com/errata/RHSA-2013-0164.html

http://rhn.redhat.com/errata/RHSA-2013-0191.html

http://rhn.redhat.com/errata/RHSA-2013-0192.html

http://rhn.redhat.com/errata/RHSA-2013-0193.html

http://rhn.redhat.com/errata/RHSA-2013-0194.html

http://rhn.redhat.com/errata/RHSA-2013-0195.html

http://rhn.redhat.com/errata/RHSA-2013-0196.html

http://rhn.redhat.com/errata/RHSA-2013-0197.html

http://rhn.redhat.com/errata/RHSA-2013-0198.html

http://rhn.redhat.com/errata/RHSA-2013-0221.html

http://rhn.redhat.com/errata/RHSA-2013-0235.html

http://rhn.redhat.com/errata/RHSA-2013-0623.html

http://rhn.redhat.com/errata/RHSA-2013-0640.html

http://rhn.redhat.com/errata/RHSA-2013-0641.html

http://rhn.redhat.com/errata/RHSA-2013-0642.html

http://secunia.com/advisories/51984

http://secunia.com/advisories/52054

http://secunia.com/advisories/57126

http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java?r1=1377892&r2=1377891&pathrev=1377892

http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1377892&r2=1377891&pathrev=1377892

http://svn.apache.org/viewvc?view=revision&revision=1377892

http://tomcat.apache.org/security-6.html

http://tomcat.apache.org/security-7.html

http://www.securityfocus.com/bid/56812

http://www.securitytracker.com/id?1027833

http://www.ubuntu.com/usn/USN-1685-1

https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19305

Details

Source: MITRE

Published: 2012-12-19

Updated: 2017-09-19

Type: CWE-264

Risk Information

CVSS v2

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.0:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.0:alpha:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.1:alpha:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.2:alpha:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.2:beta:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.3:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.5:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.6:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.9:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.9:beta:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.12:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.15:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.16:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.17:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.18:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.19:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.20:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.24:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.26:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.27:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.28:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.29:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.30:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.31:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.32:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.33:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:6.0.35:*:*:*:*:*:*:*

Configuration 2

OR

cpe:2.3:a:apache:tomcat:7.0.0:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.0:beta:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.1:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.2:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.2:beta:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.3:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.4:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.4:beta:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.5:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.6:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.7:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.8:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.9:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.10:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.11:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.12:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.13:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.14:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.15:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.16:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.17:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.18:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.19:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.20:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.21:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.22:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.23:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.25:*:*:*:*:*:*:*

cpe:2.3:a:apache:tomcat:7.0.28:*:*:*:*:*:*:*

Tenable Plugins

View all (34 total)

IDNameProductFamilySeverity
80791Oracle Solaris Third-Party Patch Update : tomcat (multiple_vulnerabilities_in_apache_tomcat3)NessusSolaris Local Security Checks
medium
79982GLSA-201412-29 : Apache Tomcat: Multiple vulnerabilitiesNessusGentoo Local Security Checks
high
78953RHEL 5 / 6 : JBoss Web Server (RHSA-2013:0641)NessusRed Hat Local Security Checks
medium
78947RHEL 4 : JBoss EWP (RHSA-2013:0197)NessusRed Hat Local Security Checks
medium
78946RHEL 5 : JBoss EWP (RHSA-2013:0196)NessusRed Hat Local Security Checks
medium
78945RHEL 6 : JBoss EWP (RHSA-2013:0195)NessusRed Hat Local Security Checks
medium
78944RHEL 5 / 6 : JBoss Web Server (RHSA-2013:0158)NessusRed Hat Local Security Checks
medium
76233RHEL 5 / 6 : JBoss Web Server (RHSA-2013:0005)NessusRed Hat Local Security Checks
medium
74854openSUSE Security Update : tomcat6 (openSUSE-SU-2012:1700-1)NessusSuSE Local Security Checks
medium
74853openSUSE Security Update : tomcat (openSUSE-SU-2012:1701-1)NessusSuSE Local Security Checks
medium
68790Oracle Linux 5 : tomcat5 (ELSA-2013-0640)NessusOracle Linux Local Security Checks
medium
68786Oracle Linux 6 : tomcat6 (ELSA-2013-0623)NessusOracle Linux Local Security Checks
medium
65530CentOS 5 : tomcat5 (CESA-2013:0640)NessusCentOS Local Security Checks
medium
65244Scientific Linux Security Update : tomcat5 on SL5.x i386/x86_64 (20130312)NessusScientific Linux Local Security Checks
medium
65243Scientific Linux Security Update : tomcat6 on SL6.x (noarch) (20130311)NessusScientific Linux Local Security Checks
medium
65238RHEL 5 : tomcat5 (RHSA-2013:0640)NessusRed Hat Local Security Checks
medium
65225CentOS 6 : tomcat6 (CESA-2013:0623)NessusCentOS Local Security Checks
medium
65201RHEL 6 : tomcat6 (RHSA-2013:0623)NessusRed Hat Local Security Checks
medium
64431SuSE 10 Security Update : tomcat5 (ZYPP Patch Number 8397)NessusSuSE Local Security Checks
medium
64430SuSE 11.2 Security Update : tomcat6 (SAT Patch Number 7208)NessusSuSE Local Security Checks
medium
64080RHEL 4 : JBoss EAP (RHSA-2013:0193)NessusRed Hat Local Security Checks
medium
64079RHEL 5 : JBoss EAP (RHSA-2013:0192)NessusRed Hat Local Security Checks
critical
64078RHEL 6 : JBoss EAP (RHSA-2013:0191)NessusRed Hat Local Security Checks
critical
64077RHEL 5 / 6 : jbossweb (RHSA-2013:0164)NessusRed Hat Local Security Checks
medium
64075RHEL 5 : jbossas (RHSA-2013:0147)NessusRed Hat Local Security Checks
medium
63535Ubuntu 10.04 LTS / 11.10 / 12.04 LTS / 12.10 : tomcat6, tomcat7 vulnerabilities (USN-1685-1)NessusUbuntu Local Security Checks
medium
63309Fedora 16 : tomcat-7.0.33-1.fc16 (2012-20151)NessusFedora Local Security Checks
medium
63160FreeBSD : tomcat -- bypass of security constraints (f599dfc4-3ec2-11e2-8ae1-001a8056d0b5)NessusFreeBSD Local Security Checks
medium
800612Apache Tomcat 6.0.x < 6.0.36 Multiple VulnerabilitiesLog Correlation EngineWeb Servers
medium
800606Apache Tomcat 7.0.x < 7.0.30 DIGEST Authentication Multiple Security WeaknessesLog Correlation EngineWeb Servers
medium
6657Apache Tomcat 6.0.x < 6.0.36 Multiple VulnerabilitiesNessus Network MonitorWeb Servers
medium
6624Apache Tomcat 7.0.x < 7.0.30 Multiple VulnerabilitiesNessus Network MonitorWeb Servers
medium
62988Apache Tomcat 7.0.x < 7.0.30 Multiple VulnerabilitiesNessusWeb Servers
medium
62987Apache Tomcat 6.0.x < 6.0.36 Multiple VulnerabilitiesNessusWeb Servers
medium