CVE-2012-3546
Web: Bypass of security constraints
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 2.0 base score, scored by redhat.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- Single
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
AV:N/AC:L/Au:S/C:P/I:P/A:N
Weakness: CWE-264
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >=6.0.0, <6.0.36>=7.0.0, <7.0.30 | 6.0.367.0.30 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- archives.neohapsis.com http://archives.neohapsis.com/archives/bugtraq/2012-12/0044.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
- marc.info http://marc.info/?l=bugtraq&m=136612293908376&w=2
- marc.info http://marc.info/?l=bugtraq&m=139344343412337&w=2
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0004.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0005.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0146.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0147.html
Show all 52 references
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0151.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0157.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0158.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0162.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0163.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0164.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0191.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0192.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0193.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0194.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0195.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0196.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0197.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0198.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0221.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0235.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0623.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0640.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0641.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-0642.html
- secunia.com http://secunia.com/advisories/51984
- secunia.com http://secunia.com/advisories/52054
- secunia.com http://secunia.com/advisories/57126
- svn.apache.org http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java?r1=1377892&r2=1377891&pathrev=1377892
- svn.apache.org http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1377892&r2=1377891&pathrev=1377892
- svn.apache.org http://svn.apache.org/viewvc?view=revision&revision=1377892
- tomcat.apache.org http://tomcat.apache.org/security-6.html
- tomcat.apache.org http://tomcat.apache.org/security-7.html
- www.securityfocus.com http://www.securityfocus.com/bid/56812
- www.securitytracker.com http://www.securitytracker.com/id?1027833
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1685-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-3546
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/f78c0cdfc8a3c2efdfe6df6b69e5e3daafa3f588
- h20566.www2.hp.com https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
- linux.oracle.com https://linux.oracle.com/cve/CVE-2012-3546.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2013-0640.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-3546
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19305
- svn.apache.org https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1377892
- ubuntu.com https://ubuntu.com/security/notices/USN-1685-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-3546
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.