PT-2024-9392
CVE-2024-53677
·
Published
2024-11-26
·
Updated
2026-12-02
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Apache Struts versions 2.0.0 through 6.3.0.2
Description
Flawed file upload logic allows an attacker to manipulate file upload parameters to enable path traversal. This can lead to the upload of malicious files, such as web shells, into restricted directories, resulting in Remote Code Execution (RCE) in the context of the affected service account. The issue stems from how parameters are handled during file uploads using OGNL (Object-Graph Navigation Language), where an attacker can modify the uploaded filename using syntax like
[0].top.UploadFilename if the upload parameter differs from the expected one. Real-world exploitation has been observed, with threat actors using the flaw to identify and compromise vulnerable servers. Successful exploitation may allow an attacker to install programs, view, change, or delete data, and create new accounts with full user rights.Recommendations
Upgrade to version 6.4.0 or greater and migrate to the new file upload mechanism.
As a temporary mitigation, restrict the use of the
FileuploadInterceptor logic.
Run the software as a non-privileged user to diminish the effects of a successful attack.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾