SecurityContext

CVE-2024-53677: Apache Struts - Unrestricted File Upload

  • Cve: CVE-2024-53677
  • Name: Apache Struts - Unrestricted File Upload
  • 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
  • Impact: Attackers can upload malicious files leading to remote code execution, potentially compromising the server.
  • Remediation: Upgrade to version 6.4.0 or later and migrate to the new file upload mechanism as recommended.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.72367
  • Epss percentile: 0.9945
  • Assignee: [email protected]
  • Published at: 2024-12-11T16:15:14Z
  • Age in days: 713
  • Modified at: 2026-11-03T22:17:27Z
  • Patch available: yes
  • Public exploits total: 33
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-53677
  • Nvd status: analyzed
  • Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2024-12-15—no

Public exploits

UrlSourceAdded date
https://github.com/choyj358/cve-2024-53677poc-in-github2026-10-13
https://github.com/choyj358/cve-2024-53677.gitvulncheck-xdb2026-10-13
https://github.com/baburkin/struts-uploader-vulnerability.gitvulncheck-xdb2026-05-22
https://github.com/ctfsec/CVE-2024-53677poc-in-github2026-05-02
https://github.com/sangrok-jeon/CVE-2024-53677-Analysispoc-in-github2026-03-18

References

UrlSourceTags
https://cwiki.apache.org/confluence/display/WW/S2-067nvdThird Party Advisory
https://security.netapp.com/advisory/ntap-20250103-0005/nvdThird Party Advisory
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-53677vulncheckVulncheck Reported Exploitation
https://attackerkb.com/topics/YfjepZ70DS/cve-2024-53677vulncheckVulncheck Reported Exploitation
https://isc.sans.edu/diary/Exploit+attempts+inspired+by+recent+Struts2+File+Upload+Vulnerability+CVE202453677+CVE202350164/31520vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
apache:struts>= 2.0.0, < 6.4.0nonvd/v1/products/apache/struts

Projects

RepositoryLink kindsIndexedUrl
apache/strutscommit, packageyes/v1/repositories/apache/struts

Index

  • Repositories: 26
  • Repositories high signal: 11
  • Packages: 1

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2024-12-15
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 33
  • Public exploit first date: 2024-12-12
  • Remote: yes
  • Exposed hosts: 2143
  • Checked, none or zero: known exploited, initial access, authentication required
  • Not known: known exploited since, nuclei template, initial access since, hackerone reports