Attackers can manipulate file upload parameters to enable path traversal, potentially leading to malicious file upload. This may result in remote code execution, allowing attackers to run arbitrary code, steal data, or compromise entire systems.
CVE-2024-53677 is a critical file-upload vulnerability in Apache Struts 2, allowing attackers to manipulate file upload parameters, potentially leading to malicious file upload. The vulnerability has a CVSS base score of 9.8.
FortiGuard Labs is aware a proof of concept (PoC) exploit is online which makes it imperative to assess and mitigate this issue.
The vulnerability, CVE-2024-53677, is seemingly related to CVE-2023-50164 suggesting incomplete patches may have contributed to the newly discovered flaw. Back in December 2023, FortiGuard Labs warned about (CVE-2023-50164) by releasing a Threat Signal report.
According to the vendor advisory, this change isn’t backward compatible and users must start using the new action file upload mechanism and related interceptor and using the old file upload mechanism keeps you vulnerable to this attack.
Apache Struts 2 is an open-source framework for building Java-based web applications used in many enterprise environments for creating scalable and robust web applications. Given its widespread use in enterprise applications, unpatched systems are high-value targets, increasing the risk of breaches and operational disruption.

