CVE-2017-5638 High Severity Vulnerability detected by WhiteSource
CVE-2017-5638 - High Severity Vulnerability
Vulnerable Library - struts2-core-2.5.10.jar
Apache Struts 2
path: /java_security_book/Struts2/s2_045/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.5.10.jar,/java_security_book/Struts2/s2_046/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.5.10.jar,2/repository/org/apache/struts/struts2-core/2.5.10/struts2-core-2.5.10.jar
Library home page: http://struts.apache.org/struts2-core/
Dependency Hierarchy:
- :x: struts2-core-2.5.10.jar (Vulnerable Library)
Vulnerability Details
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Publish Date: 2017-03-11
URL: CVE-2017-5638
CVSS 3 Score Details (10.0)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://struts.apache.org/docs/s2-045.html
Fix Resolution: Upgrade to Struts 2.3.32 or Struts 2.5.10.1
Step up your Open Source Security Game with WhiteSource here