CVE-2012-4431: CSRF

Published Dec 5, 2012
·
Updated

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.

Other sources

The CSRF prevention filter could be bypassed if a request was made to a protected resource without a session identifier present in the request.

Source: Tomcat security pages. [1,2]

[1] http://tomcat.apache.org/security-6.html [2] http://tomcat.apache.org/security-7.html

Affected Software

74 affected componentsFixes available
redhat/Apache Tomcat<7.0.32
7.0.32
redhat/Apache Tomcat<6.0.36
6.0.36
Apache Tomcat=6.0
Apache Tomcat=6.0.0
Apache Tomcat=6.0.0-alpha
Apache Tomcat=6.0.1
Apache Tomcat=6.0.1-alpha
Apache Tomcat=6.0.2
Apache Tomcat=6.0.2-alpha
Apache Tomcat=6.0.2-beta
Apache Tomcat=6.0.3
Apache Tomcat=6.0.4
Apache Tomcat=6.0.4-alpha
Apache Tomcat=6.0.5
Apache Tomcat=6.0.6
Apache Tomcat=6.0.6-alpha
Apache Tomcat=6.0.7
Apache Tomcat=6.0.7-alpha
Apache Tomcat=6.0.7-beta
Apache Tomcat=6.0.8
Apache Tomcat=6.0.8-alpha
Apache Tomcat=6.0.9
Apache Tomcat=6.0.9-beta
Apache Tomcat=6.0.10
Apache Tomcat=6.0.11
Apache Tomcat=6.0.12
Apache Tomcat=6.0.13
Apache Tomcat=6.0.14
Apache Tomcat=6.0.15
Apache Tomcat=6.0.16
Apache Tomcat=6.0.17
Apache Tomcat=6.0.18
Apache Tomcat=6.0.19
Apache Tomcat=6.0.20
Apache Tomcat=6.0.24
Apache Tomcat=6.0.26
Apache Tomcat=6.0.27
Apache Tomcat=6.0.28
Apache Tomcat=6.0.29
Apache Tomcat=6.0.30
Apache Tomcat=6.0.31
Apache Tomcat=6.0.32
Apache Tomcat=6.0.33
Apache Tomcat=6.0.35
Apache Tomcat=7.0.0
Apache Tomcat=7.0.0-beta
Apache Tomcat=7.0.1
Apache Tomcat=7.0.2
Apache Tomcat=7.0.2-beta
Apache Tomcat=7.0.3
Apache Tomcat=7.0.4
Apache Tomcat=7.0.4-beta
Apache Tomcat=7.0.5
Apache Tomcat=7.0.6
Apache Tomcat=7.0.7
Apache Tomcat=7.0.8
Apache Tomcat=7.0.9
Apache Tomcat=7.0.10
Apache Tomcat=7.0.11
Apache Tomcat=7.0.12
Apache Tomcat=7.0.13
Apache Tomcat=7.0.14
Apache Tomcat=7.0.15
Apache Tomcat=7.0.16
Apache Tomcat=7.0.17
Apache Tomcat=7.0.18
Apache Tomcat=7.0.19
Apache Tomcat=7.0.20
Apache Tomcat=7.0.21
Apache Tomcat=7.0.22
Apache Tomcat=7.0.23
Apache Tomcat=7.0.25
Apache Tomcat=7.0.28
Apache Tomcat=7.0.30

Event History

Dec 19, 2012
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-4431?

The severity of CVE-2012-4431 is moderate as it allows Cross-Site Request Forgery (CSRF) attacks by bypassing the CSRF prevention filter.

2

How do I fix CVE-2012-4431?

To fix CVE-2012-4431, update Apache Tomcat to version 6.0.36 or higher, or version 7.0.32 or higher.

3

Which versions of Apache Tomcat are affected by CVE-2012-4431?

Apache Tomcat versions prior to 6.0.36 and 7.0.32 are affected by CVE-2012-4431.

4

What kind of attack does CVE-2012-4431 facilitate?

CVE-2012-4431 facilitates Cross-Site Request Forgery (CSRF) attacks by allowing unauthorized requests to be executed without a valid session identifier.

5

Is CVE-2012-4431 specific to any particular operating system?

CVE-2012-4431 is specific to Apache Tomcat and is not limited to any particular operating system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203