Skip to content

Apache Struts

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

CVE-2024-53677Published 11 Dec 2024, 15:35 UTC

Real-world risk

2.0/ 10Low

Routine

If the vulnerable configuration applies to you: 4.5

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from apache)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
Apache StrutsWidespread>= 2.0.0, < 6.4.06.4.0

What to do

Update to a fixed version: 6.4.0.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Metasploit module (link)
  • CISA SSVC: proof of concept

EPSS 84.6% chance of exploitation in 30 days (percentile 100), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.203
  2. Threat T4: Weaponized1.000
  3. 10 × impact 1 × prerequisites 0.2025 × threat 12.025
  4. Rounded to one decimal between 0.1 and 102.0

How the score works

Exploitation and evidence timeline

  1. 11 Dec 2024 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Public proof of concept on GitHub first seen
  4. 3 Dec 2026 Public proof of concept on GitHub first seen
  5. 3 Dec 2026 Public proof of concept on GitHub first seen
  6. 3 Dec 2026 Public proof of concept on GitHub first seen
  7. 3 Dec 2026 Public proof of concept on GitHub first seen
  8. 3 Dec 2026 Public proof of concept on GitHub first seen
  9. 3 Dec 2026 Public proof of concept on GitHub first seen
  10. 3 Dec 2026 Public proof of concept on GitHub first seen
  11. 3 Dec 2026 Metasploit module first seen
  12. 3 Dec 2026 CISA SSVC: proof of concept first seen
  13. 3 Dec 2026 Risk 2.0 (cvss fallback)

Weakness

CWE-434

References

Get alerts for Apache Struts

Free email or text alerts when a vulnerability in Apache Struts reaches risk 8 or higher. Nothing else.