Article Details
Scrape Timestamp (UTC): 2024-12-12 13:35:09.734
Source: https://www.theregister.com/2024/12/12/apache_struts_2_vuln/
Original Article Text
Click to Toggle View
Apache issues patches for critical Struts 2 RCE bug. More details released after devs allowed weeks to apply fixes. We now know the remote code execution vulnerability in Apache Struts 2 disclosed back in November carries a near-maximum severity rating following the publication of the CVE. According to the National Vulnerability Database (NVD), which published the CVE on Wednesday, Apache scored CVE-2024-53677 a 9.5 using the CVSSv4 framework while Tenable noted a 9.8 rating using CVSSv3 – take your pick. Considering remote attackers could exploit the vulnerability without requiring any privileges, combined with the high impact to system confidentiality, integrity, and availability, it's likely the Apache Foundation withheld the juiciest details to allow customers to upgrade to a safe version (Struts 6.4.0 or greater). Given a Struts bug was linked to the "entirely preventable" Equifax breach in 2017, it makes sense to be on the safe side. Equifax couldn't find or patch vulnerable Struts implementations There is also no workaround available for CVE-2024-53677. It's a patch-or-nothing situation. Describing the flaw, Apache said in its advisory: "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." Affected versions include: Struts 2.0.0… Struts 2.3.37 (EOL) Struts 2.5.0… Struts 2.5.33 Struts 6.0.0… Struts 6.3.0.2 Crucially, applications that don't use Struts' File Upload Interceptor component, which was deprecated as of version 6.4.0 and removed entirely in 7.0.0, are not affected. As part of the upgrade process, users were also advised to update their file upload mechanism to Action File Upload Interceptor, which replaced the aforementioned component as of version 6.4.0. File Upload Interceptor was deprecated for various reasons related to configuration options, security, performance, and integration capabilities. Upgrading this mechanism isn't as easy as applying a simple update. Users will have to rewrite their actions to ensure compatibility with Action File Upload but the alternative isn't acceptable. As Apache notes: "Using the old File Upload mechanism keeps you vulnerable to this attack." Despite web app developers often opting for different frameworks nowadays, Struts 2 remains widely popular. When Sonatype looked at CVE-2023-50164 last year, a similar vulnerability to CVE-2024-53677 both in nature and criticality, it noted that Struts 2 received around 300,000 download requests a month and 80 percent of those contained the critical bug. CISA lists eight Apache Struts vulnerabilities in its Known Exploited Vulnerabilities (KEV) catalog, seven of which lead to remote code execution and one – CVE-2017-5638 (the Equifax one) – known to be used in ransomware attacks.
Daily Brief Summary
Apache Struts 2 has disclosed a remote code execution vulnerability with a severity rating of 9.5 to 9.8, according to the National Vulnerability Database.
The CVE-2024-53677 bug allows attackers to execute code remotely without requiring any privileges, significantly compromising system confidentiality, integrity, and availability.
Apache delayed detailed disclosure of the vulnerability to allow developers time to upgrade to Struts version 6.4.0 or later, where the vulnerability is mitigated.
There is no available workaround for this vulnerability; patching to a newer, secure version is the only solution.
Applications using Struts’ deprecated File Upload Interceptor are vulnerable; upgrading to the Action File Upload Interceptor is advised to secure systems.
Despite newer frameworks gaining popularity, Struts 2 remains widely used, with many downloads potentially containing vulnerabilities like CVE-2024-53677.
Historical context includes a reference to the Equifax data breach, which was linked to an unpatched Struts vulnerability.