CVE-2024-53677

Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks

Critical · published December 11, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 9.5. It sits in the 99.4th percentile for exploit probability.

CVSS v4.0
9.5
EPSS
70%
Percentile
99.4
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in Apache Struts could let an attacker upload a malicious file, opening the door to complete control over your server! 🔥 Think of this like a restaurant that accidentally allows a delivery driver to drop off a box of suspicious ingredients inside the kitchen without checking the label — a recipe for disaster! 🍽️ If exploited, an attacker could upload a malicious file and execute remote code, gaining full access to your server and potentially compromising sensitive data. This could lead to devastating consequences for your application and users alike, making it absolutely critical to address this flaw immediately!

Put simply

Think of this like a restaurant that accidentally allows a delivery driver to drop off a box of suspicious ingredients inside the kitchen without checking the label — a recipe for disaster! 🍽️ This vulnerability in Apache Struts allows attackers to manipulate file upload parameters, enabling path traversal, which lets them upload arbitrary files that can be executed remotely.

What to do

If exploited, an attacker could upload a malicious file and execute remote code, gaining full access to your server and potentially compromising sensitive data. This could lead to devastating consequences for your application and users alike, making it absolutely critical to address this flaw immediately! Upgrade Apache Struts to version 6.4.0 or later as soon as possible. If you're still using the old file upload mechanism based on FileuploadInterceptor, migrate to the new file upload mechanism detailed in the Apache documentation to ensure safety. Don't delay! You've got this! With these steps, you can secure your application and maintain your security hero status! 🛡️

The record
Technical detail
CVSS v4.0
9.5 · CRITICAL
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
EPSS
0.70143 · 99.4th percentile
Published
2024-12-11T15:35Z
EPSS history
Timeline
  • 11 DEC 15:35Z
    Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
    cvelistv5