Hexret
CVE-2024-53677critical 9.5PoC available

Apache Struts OGNL upload-parameter traversal

The legacy upload interceptor removed only filename parameters with an equal name, allowing an OGNL-qualified request parameter to survive and overwrite the action's trusted filename property.

Product
Apache Struts
Vendor
Apache Software Foundation
Affected
Struts 2.0.0 through 2.3.37, 2.5.0 through 2.5.33, and 6.0.0 through 6.3.0.2 when the legacy FileUploadInterceptor is used
Fixed in
Upgrade to 6.4.0 or later and migrate actions to ActionFileUploadInterceptor; Struts 7 removes the legacy interceptor
Weakness
CWE-915
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red
Published
11 Dec 2024

Practice this CVE, free

Classified as

References

Related CVEs