CVE-2012-4431
Cross-Site Request Forgery in Apache Tomcat
CVE-2012-4431 is a medium vulnerability (CVSS 4.3) in Apache Tomcat, published December 19, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.15%, the 95th percentile. Fixed in org.apache.tomcat:tomcat 6.0.36.
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
Exploit likelihood
What each source reports
NVD Score used
4.3
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
- Record
CVE-2012-4431- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
- Record
CVE-2012-4431- Updated
- 2026-11-02
EUVDEUVD-2022-2929 No score
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
- Record
EUVD-2022-2929- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-76vr-72mv-mf3q No score
Cross-Site Request Forgery in Apache Tomcat
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
- Record
GHSA-76vr-72mv-mf3q- Weakness
- CWE-352
- Updated
- 2026-11-02
OSVGHSA-76vr-72mv-mf3q No score
Cross-Site Request Forgery in Apache Tomcat
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
- Record
GHSA-76vr-72mv-mf3q- Weakness
- CWE-352
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tomcat:tomcatMaven |
6.0.0 up to 6.0.36 | 6.0.36 |
org.apache.tomcat:tomcatMaven |
7.0.0 up to 7.0.32 | 7.0.32 |
tomcat6Red Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-admin-webappsRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-docs-webappRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-el-1.0-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-javadocRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-jsp-2.1-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-libRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-log4jRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tomcat6-servlet-2.5-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6-webappsRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:6.0.35-6_patch_06.ep6.el5 | 0:6.0.35-6_patch_06.ep6.el5 |
tomcat6Red Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-admin-webappsRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-docs-webappRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-el-1.0-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-javadocRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-jsp-2.1-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-libRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-log4jRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-servlet-2.5-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat6-webappsRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:6.0.35-29_patch_06.ep6.el6 | 0:6.0.35-29_patch_06.ep6.el6 |
tomcat7Red Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-admin-webappsRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-docs-webappRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-el-1.0-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-javadocRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-jsp-2.2-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-libRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-log4jRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-servlet-3.0-apiRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7-webappsRed Hat:jboss_enterprise_web_server:2::el5 |
before 0:7.0.30-3_patch_02.ep6.el5 | 0:7.0.30-3_patch_02.ep6.el5 |
tomcat7Red Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-admin-webappsRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-docs-webappRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-el-1.0-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-javadocRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-jsp-2.2-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-libRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-log4jRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-servlet-3.0-apiRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
tomcat7-webappsRed Hat:jboss_enterprise_web_server:2::el6 |
before 0:7.0.30-5_patch_02.ep6.el6 | 0:7.0.30-5_patch_02.ep6.el6 |
jbosswebRed Hat:jboss_enterprise_application_platform:6::el5 |
before 0:7.0.17-4.Final_redhat_3.ep6.el5 | 0:7.0.17-4.Final_redhat_3.ep6.el5 |
jbossweb-libRed Hat:jboss_enterprise_application_platform:6::el5 |
before 0:7.0.17-4.Final_redhat_3.ep6.el5 | 0:7.0.17-4.Final_redhat_3.ep6.el5 |
jbosswebRed Hat:jboss_enterprise_application_platform:6::el6 |
before 0:7.0.17-4.Final_redhat_3.ep6.el6 | 0:7.0.17-4.Final_redhat_3.ep6.el6 |
jbossweb-libRed Hat:jboss_enterprise_application_platform:6::el6 |
before 0:7.0.17-4.Final_redhat_3.ep6.el6 | 0:7.0.17-4.Final_redhat_3.ep6.el6 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | imjdl/CVE-2012-4431 | 2019-07-03 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
References
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541
marc.info?l=bugtraq&m=136612293908376&w=2
archives.neohapsis.com/archives/bugtraq/2012-12/0045.html
lists.opensuse.org/opensuse-updates/2013-01/msg00051.html
ubuntu.com/usn/USN-1685-1
lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
Show 50 moreShow less
securityfocus.com/bid/56814
lists.opensuse.org/opensuse-updates/2013-01/msg00080.html
h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
rhn.redhat.com/errata/RHSA-2013-0268.html
tomcat.apache.org/security-7.html
rhn.redhat.com/errata/RHSA-2013-0648.html
securitytracker.com/id?1027834
rhn.redhat.com/errata/RHSA-2013-1437.html
svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088
rhn.redhat.com/errata/RHSA-2013-0647.html
tomcat.apache.org/security-6.html
secunia.com/advisories/57126
rhn.redhat.com/errata/RHSA-2013-1853.html
lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088
rhn.redhat.com/errata/RHSA-2013-0267.html
svn.apache.org/viewvc?view=revision&revision=1393088
marc.info?l=bugtraq&m=139344343412337&w=2
lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
nvd.nist.gov/vuln/detail/CVE-2012-4431
github.com/advisories/GHSA-76vr-72mv-mf3q
github.com/apache/tomcat
access.redhat.com/errata/RHSA-2013:0266
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=873664
bugzilla.redhat.com/show_bug.cgi?id=873695
bugzilla.redhat.com/show_bug.cgi?id=883636
bugzilla.redhat.com/show_bug.cgi?id=883637
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0266.json
access.redhat.com/security/cve/CVE-2012-2733
cve.org/CVERecord?id=CVE-2012-2733
nvd.nist.gov/vuln/detail/CVE-2012-2733
access.redhat.com/security/cve/CVE-2012-4431
cve.org/CVERecord?id=CVE-2012-4431
access.redhat.com/security/cve/CVE-2012-4534
cve.org/CVERecord?id=CVE-2012-4534
nvd.nist.gov/vuln/detail/CVE-2012-4534
access.redhat.com/security/cve/CVE-2012-5885
cve.org/CVERecord?id=CVE-2012-5885
nvd.nist.gov/vuln/detail/CVE-2012-5885
access.redhat.com/security/cve/CVE-2012-5886
cve.org/CVERecord?id=CVE-2012-5886
nvd.nist.gov/vuln/detail/CVE-2012-5886
access.redhat.com/security/cve/CVE-2012-5887
cve.org/CVERecord?id=CVE-2012-5887
nvd.nist.gov/vuln/detail/CVE-2012-5887
access.redhat.com/errata/RHSA-2013:0268
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0268.json
access.redhat.com/errata/RHSA-2013:0647
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0647.json