Skip to main content
← All vulnerabilities
CVE-2024-53677GHSA-43MQ-6XMG-29VM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.0
18 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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

Timeline

  1. CVE published5 days
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

    18 days
  3. Record last updated663 days (about 2 years)
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • org.apache.struts:struts2-core

    From 2.0.0 · fixed in 6.4.0

  • org.apache.struts:struts2-coreMaven

    fixed in 6.4.0

References 19

cwiki.apache.org

GitHub · 0xPThree/struts_cve-2024-53677

GitHub · BuludX/CVE-2024-53677

GitHub · Cythonic1/CVE-2024-53677-POC

GitHub · EQSTLab/CVE-2024-53677

GitHub · SeanRickerd/CVE-2024-53677

GitHub · TAM-K592/CVE-2024-53677-S2-067

GitHub · c4oocO/CVE-2024-53677-Docker

GitHub · choyj358/cve-2024-53677

GitHub · cloudwafs/s2-067-CVE-2024-53677

GitHub · ctfsec/CVE-2024-53677

GitHub · dustblessnotdust/CVE-2024-53677-S2-067-thread

GitHub · hiteshpatra/CVE-2024-53677

GitHub · hopsypopsy8/CVE-2024-53677-Exploitation

GitHub · r007sec/CVE-2024-53677

GitHub · sangrok-jeon/CVE-2024-53677-Analysis

GitHub · seoyoung-kang/CVE-2024-53677

GitHub · shishirghimir/CVE-2024-53677-Exploit

GitHub · yangyanglo/CVE-2024-53677