Actively exploited vulnerability / CVE-2017-5638
Apache Struts: an attacker can take control of the server remotely
This flaw in Apache Struts lets an attacker run commands on the server remotely, without an account or password. They could steal data, alter the application or use the server to attack others. It is listed both by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency) among vulnerabilities used in real attacks.
- Identifier
- CVE-2017-5638 · EUVD-2018-0625
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 3 November 2021
- Deadline given to US federal agencies
- 3 May 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 100.0% (FIRST's estimate for the next 30 days)
Does it concern you?
Apache Struts is a building block for Java web applications such as portals, online shops or internal business tools. It is also part of some commercial products, such as Aruba ClearPass Policy Manager.
Ask your IT team or the company that built your web applications whether they use Apache Struts and which version. Affected are versions from 2.2.3 up to but not including 2.3.32, versions from 2.5.0 up to but not including 2.5.10.1, and Aruba ClearPass Policy Manager before 6.6.5.
Affected products and versions
- Apache Struts
- struts: from 2.2.3 before 2.3.32; from 2.5.0 before 2.5.10.1
- clearpass policy manager: before 6.6.5
What to do
Update Apache Struts to version 2.3.32 or 2.5.10.1 or later, and Aruba ClearPass Policy Manager to 6.6.5 or later. If a supplier built your application, ask them to apply the update following the vendor's instructions.
Versions that contain the fix: 2.3.32, 2.5.10.1, 6.6.5.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.