All vulnerabilities

Servers and applications

CVE-2017-5638

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…

Actively exploited: CISA added it to its Known Exploited Vulnerabilities catalog on 3 Nov 2021.

Severity
Critical 9.8
Published
11 Mar 2017
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.3.32, 2.5.10.1
Exploit chance
100% in the next 30 daysHigher than 99% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
CWE-755
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
Apache StrutsServers and applications · cpe:a:apache:struts
  • From 2.2.3 before 2.3.32
  • From 2.5.0 before 2.5.10.1
Oracle WebLogic ServerServers and applications · cpe:a:oracle:weblogic_server
  • Version 10.3.6.0.0
  • Version 12.1.3.0.0
  • Version 12.2.1.1.0
  • Version 12.2.1.2.0

Known exploited

CISA name
Apache Struts Remote Code Execution Vulnerability
Required action
Apply updates per vendor instructions.
Due for US agencies
3 May 2022
Used in ransomware
Yes, known

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-5638
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-5638