Skip to content

Apache Struts vulnerable to path traversal

Critical severity GitHub Reviewed Published Dec 7, 2023 to the GitHub Advisory Database • Updated Dec 18, 2023

Package

maven org.apache.struts:struts2-core (Maven)

Affected versions

>= 6.0.0, < 6.3.0.2
>= 2.0.0, < 2.5.33

Patched versions

6.3.0.2
2.5.33

Description

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.

References

Published by the National Vulnerability Database Dec 7, 2023
Published to the GitHub Advisory Database Dec 7, 2023
Reviewed Dec 7, 2023
Last updated Dec 18, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-50164

GHSA ID

GHSA-2j39-qcjm-428w

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.