An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.
Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
CVE-2023-50164 - Critical Severity Vulnerability
Vulnerable Library - struts2-core-2.3.20.jar
Apache Struts 2
Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.apache.struts/struts2-core/jars/struts2-core-2.3.20.jar
Dependency Hierarchy: - small-app_2.10-1.0-SNAPSHOT (Root Library) - :x: **struts2-core-2.3.20.jar** (Vulnerable Library)
Found in HEAD commit: 9505f4ca92405cc9273dc3726c2d274ce28a4407
Found in base branch: ALL_HANDS/major-secrets
Vulnerability Details
An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
Publish Date: 2023-12-07
URL: CVE-2023-50164
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj
Release Date: 2023-12-07
Fix Resolution: org.apache.struts:struts2-core:2.5.33,6.3.0.2
Step up your Open Source Security Game with Mend here