Skip to content
Fencer Vulns
critical 9.8

CVE-2024-53677 in the critical feed json

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

published 2024-12-11 22 mo ago modified 2026-11-04 5 d ago also EUVD-2024-3418 , GHSA-43mq-6xmg-29vm

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
72.4%
EPSS 72.4% chance of exploitation in 30 days, percentile 99.4%
public exploits
0
none known

Summary

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

Patch / fix

  • maven org.apache.struts:struts2-core 6.4.0
  • Apache Software Foundation Apache Struts 6.4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-53677 updated cvss 9.0

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

  • Red Hat A-MQ Clients 2 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat AMQ Broker 7 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat build of Apache Camel for Spring Boot 4 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat build of Debezium 2 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat Build of Keycloak struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat build of OptaPlanner 8 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib
    +13 more products
    Red Hat Data Grid 8 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat Fuse 7 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts2-core org.apache.struts/struts2-core, org.apache.struts/struts-taglib org.apache.struts/struts-taglib, org.apache.struts.xwork/xwork-core org.apache.struts.xwork/xwork-core, com.google.inject.extensions/guice-struts2 com.google.inject.extensions/guice-struts2 Red Hat Integration Camel K 1 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat JBoss Data Grid 7 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat JBoss Enterprise Application Platform 7 struts-core Red Hat JBoss Enterprise Application Platform 8 xwork-core, struts-core, struts-tiles, struts2-core, struts-taglib, opentelemetry-javaagent-struts-2.3 Red Hat JBoss Enterprise Application Platform Expansion Pack struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts2-core org.apache.struts/struts2-core, org.apache.struts/struts-taglib org.apache.struts/struts-taglib, org.apache.struts.xwork/xwork-core org.apache.struts.xwork/xwork-core, io.opentelemetry.javaagent.instrumentation/opentelemetry-javaagent-struts-2.3 io.opentelemetry.javaagent.instrumentation Red Hat JBoss Fuse Service Works 6 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat JBoss Web Server 5 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat JBoss Web Server 6 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat Process Automation 7 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat Single Sign-On 7 struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib Red Hat streams for Apache Kafka struts-core, org.apache.struts/struts-tiles org.apache.struts/struts-tiles, org.apache.struts/struts-taglib org.apache.struts/struts-taglib
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
22 mo ago

Exploit prediction

72.37% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 9.5 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
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 4.0 9.5 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
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.struts:struts2-core
<6.4.0
6.4.0

Affected products

  • Apache Software Foundation Apache Struts

Classification

Weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.