Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2024-53677

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

Exploitation confirmed. First attested on 2024-12-11 by GCVE · previdian, GCVE · shadowserver.

  • Published2024-12-11
  • Fixed in6.4.0
  • WeaknessCWE-434

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2024-12-1115:35Listed as exploited by GCVEGCVE
  2. 2024-12-1115:35CVE publishedCNA
  3. 2024-12-1116:15CVE publishedNVD
  4. 2024-12-2008:19Exploitation first reportedGCVE

Versions per branch

NVD · OSV
Apache struts
BranchAffectedFixed in
6.4≥ 2.0.0, < 6.4.06.4.0
6.4< 6.4.06.4.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Software Foundation Apache Strutsother versions: not affected

    package org.apache.struts:struts2-corehttps://repo.maven.apache.org/maven2

    Affected
    • ≥ 2.0.0, < 6.4.0fixed in 6.4.0semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-12-20

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • org.apache.struts:struts2-coreTuxCare:Mavenfrom 2.5.33 · fixed in 2.5.33-tuxcare.1
  • org.apache.struts:struts2-coreRed Hat Lightwell:Mavenall versions · fixed in 6.1.1.rhlw-00021

Vendor advisories

  • CVE-2024-53677 Red Hat Product Security

    struts: org.apache.struts: mixing setters for uploaded files and normal fields can allow bypass file upload checks

Full record on NVD

Fix

  1. Update Apache struts to 6.4.0

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:C/RE:L/U:Red
Published
2024-12-11
Last Modified
2026-11-03
NVD status
Analyzed
GitHub Advisory
GHSA-43mq-6xmg-29vm

Frequently asked questions

What is CVE-2024-53677?

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

Is CVE-2024-53677 actively exploited?

A proof-of-concept exploit exists for CVE-2024-53677, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-53677?

CVE-2024-53677 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running struts? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record