Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2012-4431

CVE-2012-4431: Cross-Site Request Forgery (CSRF)

May 17, 2022 (updated July 13, 2022)

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.

References

  • lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
  • lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
  • lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
  • lists.opensuse.org/opensuse-updates/2013-01/msg00051.html
  • lists.opensuse.org/opensuse-updates/2013-01/msg00080.html
  • marc.info/?l=bugtraq&m=136612293908376&w=2
  • marc.info/?l=bugtraq&m=139344343412337&w=2
  • rhn.redhat.com/errata/RHSA-2013-0267.html
  • rhn.redhat.com/errata/RHSA-2013-0268.html
  • rhn.redhat.com/errata/RHSA-2013-0647.html
  • rhn.redhat.com/errata/RHSA-2013-0648.html
  • rhn.redhat.com/errata/RHSA-2013-1853.html
  • svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088
  • svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088
  • svn.apache.org/viewvc?view=revision&revision=1393088
  • tomcat.apache.org/security-6.html
  • tomcat.apache.org/security-7.html
  • www.ubuntu.com/usn/USN-1685-1
  • github.com/advisories/GHSA-76vr-72mv-mf3q
  • h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
  • nvd.nist.gov/vuln/detail/CVE-2012-4431
  • oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541

Code Behaviors & Features

Detect and mitigate CVE-2012-4431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 6.0.0 before 6.0.36, all versions starting from 7.0.0 before 7.0.32

Fixed versions

  • 6.0.36
  • 7.0.32

Solution

Upgrade to versions 6.0.36, 7.0.32 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-264
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.apache.tomcat/tomcat/CVE-2012-4431.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.