As of , CVE-2017-5638 in Apache Struts is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2017-5638
Apache Struts: Remote Code Execution. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Ransomware use
- Metasploit module
- EPSS 0.99
- Verified Exploit-DB entry
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects Apache Struts 2.3 before 2.3.32 and 2.5 before 2.5.10.1.
Fixed in 2.3.32 and 2.5.10.1.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 3 November 2021
- US federal deadline
- 3 May 2022 181 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Known
- EPSS when listed
- Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
- Public exploit
- 1 Metasploit module and 2 Exploit-DB entries (2 verified)
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
org.apache.struts:struts2-coreMaven
Affects org.apache.struts:struts2-core from 2.3.0 before 2.3.32 and from 2.5.0 before 2.5.10.1.
Fixed in 2.3.32 and 2.5.10.1.
Advisory GHSA-j77q-2qqg-6989
Since listing
EPSS since listing
EPSS for CVE-2017-5638 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.96 | |
| 0.98 | |
| 0.97 | |
| 0.96 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- Exploit-DB published an exploit (EDB-ID 41570).
- The CVE record was published.
- Exploit-DB published an exploit (EDB-ID 41614).
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
CISA's 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.
The CVE record's description, from apache
- CVE published
- 11 March 2017
- Assigned by
- apache
- CVSS
- 9.8 Critical (CVSS 3.1, from CISA-ADP)
- CWE-755
- Improper Handling of Exceptional Conditions
- CWE-20
- Improper Input Validation
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Struts: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2016-3081Command Injection | Struts | Patch nowCISA triageMetasploitExploit-DB | Due | 0.97 | |
| CVE-2013-2251Improper Input Validation | Struts | Patch this weekMetasploitExploit-DB | Due | 0.99 | |
| CVE-2018-11776Remote Code Execution | Struts | Patch this weekMetasploitExploit-DB | Due | 0.99 | |
| CVE-2017-9805Deserialization of Untrusted Data | Struts | Patch this weekMetasploit | Due | 0.99 | |
| CVE-2020-17530Remote Code Execution | Struts | Patch this weekMetasploit | Due | 0.96 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0