Threat actors are attempting to exploit Apache Struts vulnerability CVE-2024
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2023-50164 | 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 us 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. NVD description · AI analysis pending | 9.8 | 81% |
| — | ||
| CVE-2024-53677 | Path Traversal in Apache Struts File Upload Leading to RCE (CVE-2024-53677) Apache Struts contains a flaw in its legacy file upload logic (CWE-434) that allows an attacker to manipulate file upload parameters to traverse paths outside the intended upload directory. It is triggered when an application relies on the old upload mechanism built around FileuploadInterceptor; applications using the new file upload mechanism are not affected. By uploading a malicious file to a location where it can be executed, an attacker can, under some circumstances, achieve remote code execution on the server. All Apache Struts versions from 2.0.0 up to but not including 6.4.0 are affected, though only deployments still using the legacy upload interceptor. There is no public PoC or CISA KEV entry yet, but EPSS is exceptionally high (78.2%, 100th percentile) and news reports indicate threat actors are already attempting to exploit the flaw in the wild. Do: Upgrade Apache Struts to version 6.4.0 or later and migrate applications to the new file upload mechanism. If upgrading is not immediately possible, verify whether your application uses the legacy FileuploadInterceptor; if it does not, the application is safe. Review upload parameter handling and monitor the official S2-067 advisory for mitigation details, as active exploitation attempts have been reported. | 9.5 | 78% |
| largetens of thousands of internet-exposed Apache Struts instances (exact vulnerable subset unknown) |
Full article273 words · extracted from securityaffairs.com · click to collapse
Pierluigi Paganini
December 18, 2024

Researchers warn that threat actors are attempting to exploit a recently disclosed Apache Struts vulnerability CVE-2024-53677.
Researchers warn that threat actors are attempting to exploit the vulnerability CVE-2024-53677 (CVSS score of 9.5) in Apache Struts. A remote attacker could exploit this vulnerability to upload malicious files, potentially leading to arbitrary code execution.
“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.” reads the advisory published by Apache.
The vulnerability impacts the following software versions:
- Struts 2.0.0 through Struts 2.3.37 (EOL)
- Struts 2.5.0 through Struts 2.5.33 (EOL)
- Struts 6.0.0 through Struts 6.3.0.2
SANS Technology senior researcher Dr. Johannes Ullrich explained that the vulnerability allows attackers to achieve path traversal and remote code execution via file upload exploitation. The expert explained that the root cause of the issue is an incomplete fix for another vulnerability tracked as CVE-2023-50164.
The researcher also confirmed that threat actors are actively exploiting a publicly-released proof-of-concept (PoC) code.
“The vulnerability, CVE-2024-53677, appears to be related to CVE-2023-50164. The older vulnerability is similar, and an incomplete patch may have led to the newer issue.” wrote Ullrich. “PoC exploits have been released (see, for example, [2]). And we are seeing active exploit attempts for this vulnerability that match the PoC exploit code.”
Users are recommended to upgrade to the latest version Struts 6.4.0 or greater and use Action File Upload Interceptor.
Follow me on Twitter: @securityaffairs and Facebook and Mastodon
(SecurityAffairs – hacking, Apache)
Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/172109/hacking/apache-struts-vulnerability-cve-2024-53677-flaw.html