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.
Fix
Public exploits 1
- imjdl/CVE-2012-4431 PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 10
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc?view=revision&revision=1393088 Patch
- http://tomcat.apache.org/security-6.html Vendor Advisory
- http://tomcat.apache.org/security-7.html Vendor Advisory
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc?view=revision&revision=1393088 Patch
- http://tomcat.apache.org/security-6.html Vendor Advisory
- http://tomcat.apache.org/security-7.html Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.3 · apacheNVD modified 2026-10-09 20:17
Affected (CPE criteria) 72
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.4:alpha:*:*:*:*:*:*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.6:alpha:*:*:*:*:*:*cpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:*cpe:2.3:a:apache:tomcat:6.0.7:alpha:*:*:*:*:*:*cpe:2.3:a:apache:tomcat:6.0.7:beta:*:*:*:*:*:*cpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:*cpe:2.3:a:apache:tomcat:6.0.8:alpha:*:*:*:*:*:*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:*:*:*:*:*:*:*- and 32 more
References 50
- http://archives.neohapsis.com/archives/bugtraq/2012-12/0045.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://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.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-0267.html
- http://rhn.redhat.com/errata/RHSA-2013-0268.html
- http://rhn.redhat.com/errata/RHSA-2013-0647.html
- http://rhn.redhat.com/errata/RHSA-2013-0648.html
- http://rhn.redhat.com/errata/RHSA-2013-1437.html
- http://rhn.redhat.com/errata/RHSA-2013-1853.html
- http://secunia.com/advisories/57126
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc?view=revision&revision=1393088 Patch
- http://tomcat.apache.org/security-6.html Vendor Advisory
- http://tomcat.apache.org/security-7.html Vendor Advisory
- http://www.securityfocus.com/bid/56814
- http://www.securitytracker.com/id?1027834
- 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%3A18541
- http://archives.neohapsis.com/archives/bugtraq/2012-12/0045.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://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.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-0267.html
- http://rhn.redhat.com/errata/RHSA-2013-0268.html
- http://rhn.redhat.com/errata/RHSA-2013-0647.html
- http://rhn.redhat.com/errata/RHSA-2013-0648.html
- http://rhn.redhat.com/errata/RHSA-2013-1437.html
- http://rhn.redhat.com/errata/RHSA-2013-1853.html
- http://secunia.com/advisories/57126
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088 Patch
- http://svn.apache.org/viewvc?view=revision&revision=1393088 Patch
- http://tomcat.apache.org/security-6.html Vendor Advisory
- http://tomcat.apache.org/security-7.html Vendor Advisory
- http://www.securityfocus.com/bid/56814
- http://www.securitytracker.com/id?1027834
- 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%3A18541