Authentication Bypass in Apache Tomcat
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.36, >= 7.0.0, < 7.0.30 | 6.0.36, 7.0.30 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2012-3546
- https://github.com/apache/tomcat/commit/f78c0cdfc8a3c2efdfe6df6b69e5e3daafa3f588
- https://github.com/apache/tomcat
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19305
- https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1377892
- 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-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-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://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
- Debilidad (CWE)
CWE-287- Plataforma
- Java / Kotlin (Maven)
- Paquete
org.apache.tomcat:tomcat- Publicada
- 17.05.2022
- Actualizado
- 11.10.2026 11:20
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-jgm2-m5cg-f66g - CC BY 4.0
Historial de vulnerabilidades: org.apache.tomcat:tomcat
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 162
- Primera → última
- 12.2018 08.2026
- Sin corrección
- 20
- Explotada en ataques
- 1
Distribución por gravedad
- Crítica 8
- Alta 40
- Media 102
- Baja 12
Divulgaciones por año
- 2018: 1
- 2019: 1
- 2020: 2
- 2021: 5
- 2022: 125
- 2023: 3
- 2024: 2
- 2025: 4
- 2026: 19
-
Authentication Bypass in Apache Tomcat esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.