Skip to main content
← All vulnerabilities
CVE-2017-5638GHSA-J77Q-2QQG-6989

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-mes

Published
Last modified
published
Listed in CISA KEV
Fix
Fixed in 2.3.32, 2.5.10.1
None on Exploit-DB, Metasploit or GitHub

Summary

Apache Struts 2, a widely used Java web application framework, is affected through its Jakarta Multipart file-upload parser. A remote attacker can exploit this flaw by sending a specially crafted HTTP header to run arbitrary commands on the affected server.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

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

Affected versions

  • Apache Software Foundation Apache Struts

    2.3.x before 2.3.32, 2.5.x before 2.5.10.1

  • org.apache.struts:struts2-coreMaven

    From 2.3.0 · fixed in 2.3.32

  • org.apache.struts:struts2-coreMaven

    From 2.5.0 · fixed in 2.5.10.1

References 25

nmap.org

arubanetworks.com

arstechnica.com

Exploit-DB

security.netapp.com

GitHub · rapid7/metasploit-framework

struts.apache.org

blog.talosintelligence.com

imperva.com

h20566.www2.hpe.com

kb.cert.org

isc.sans.edu

securitytracker.com

eweek.com

securityfocus.com

twitter.com

GitHub · mazen160/struts-pwn

packetstormsecurity.com

symantec.com

support.lenovo.com

git1-us-west.apache.org

cwiki.apache.org