java_security_book icon indicating copy to clipboard operation
java_security_book copied to clipboard

CVE-2012-4386 Medium Severity Vulnerability detected by WhiteSource

Open mend-bolt-for-github[bot] opened this issue 7 years ago • 0 comments

CVE-2012-4386 - Medium Severity Vulnerability

Vulnerable Libraries - struts2-core-2.0.8.jar, struts2-core-2.0.11.jar

struts2-core-2.0.8.jar

null

path: /java_security_book/Struts2/s2_002/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.8.jar,/java_security_book/Struts2/s2_001/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.8.jar,2/repository/org/apache/struts/struts2-core/2.0.8/struts2-core-2.0.8.jar

Dependency Hierarchy:

  • :x: struts2-core-2.0.8.jar (Vulnerable Library)
struts2-core-2.0.11.jar

null

path: /java_security_book/Struts2/s2_005/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.11.jar

Dependency Hierarchy:

  • :x: struts2-core-2.0.11.jar (Vulnerable Library)

Vulnerability Details

The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.

Publish Date: 2012-09-05

URL: CVE-2012-4386

CVSS 2 Score Details (6.8)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: http://struts.apache.org/2.x/docs/s2-010.html

Release Date: 2017-12-31

Fix Resolution: Developers should upgrade to Struts 2.3.4.1


Step up your Open Source Security Game with WhiteSource here