cbcvebase.
CVE-2024-53677
published 2024-12-11

CVE-2024-53677: File upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can…

PriorityP192critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
78.20%
99.5th percentile
File upload logic in Apache Struts is flawed. 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. This issue affects Apache Struts: from 2.0.0 before 6.4.0. Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload . If you are not using an old file upload logic based on FileuploadInterceptor your application is safe. You can find more details in https://cwiki.apache.org/confluence/display/WW/S2-067

Affected

2 ranges
VendorProductVersion rangeFixed in
apachestruts>= 2.0.0 < 6.4.06.4.0
apache_software_foundationapache_struts>= 2.0.0 < 6.4.06.4.0

Detection & IOCsextracted from sources · hover to see the quote

filenameexploit.jsp
ip169.150.226.162
  • Look for uploads of JSP webshell files (e.g., exploit.jsp) to directories that should be restricted, as attackers use path traversal via manipulated file upload parameters to place them there.
  • Monitor for HTTP requests accessing newly uploaded JSP files in unexpected directories following a multipart file upload request — this indicates post-exploitation verification of a successful webshell drop.
  • Check Point IPS blade signature 'Java Server Pages Backdoor' can be used to detect exploitation attempts against CVE-2024-53677.
  • Active exploit attempts matching public PoC code are being observed; traffic should be inspected for file upload parameter manipulation enabling path traversal in Apache Struts applications.
  • ·Patching to Struts 6.4.0 alone is insufficient — application code must also be rewritten to use the new Action File Upload mechanism; continuing to use the old FileuploadInterceptor-based upload logic leaves the application vulnerable even after upgrading.
  • ·The migration to the new file upload mechanism is not backward compatible and requires rewriting actions and interceptors.
  • ·Applications not using the legacy FileuploadInterceptor-based file upload logic are not affected by this vulnerability.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.5CRITICALCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:C/RE:L/U:Red
vulncheck9.5CRITICAL
vendor_redhat9.5CRITICAL
vendor_oracle9.0CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.