# CVE-2017-5638 — Apache Struts

**CISA KEV** · **Ransomware**

> As of 2025-10-21, CVE-2017-5638 is a CRITICAL-severity vulnerability in Apache Struts, CVSS v3.1 9.8, EPSS 99.9% (99.9th percentile). It is listed in the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), with a US federal remediation deadline of 2022-05-03, and CISA links it to known ransomware campaigns. Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2017-5638, most recently “IQUALIF French Residential Data Leak, IUT Paris Seine Breach, 19M SMTP Credential Dump and Apache Struts CVE-2017-5638 Access Sale”.

**Last updated:** 2025-10-21

## What is 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 containing a #cmd= string.

The record classifies CVE-2017-5638 under weakness class [CWE-755](https://cwe.mitre.org/data/definitions/755.html). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 3496 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 9.8 — CRITICAL (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **EPSS (FIRST):** 99.9% probability of exploitation in the next 30 days, higher than 99.9% of all scored CVEs
- **CISA KEV:** Listed since 2021-11-03, federal remediation deadline 2022-05-03 — used in known ransomware campaigns
- **Threadlinqs priority:** 10/10 — CISA lists it as used in ransomware, which Threadlinqs scores at the maximum
- **Published:** 2017-03-11, last modified 2025-10-21

## Is CVE-2017-5638 being exploited?

CISA added CVE-2017-5638 to the Known Exploited Vulnerabilities catalog on 2021-11-03, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2022-05-03 under BOD 22-01. CISA flags the vulnerability as one used in known ransomware campaigns. Weaponised exploit code for CVE-2017-5638 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (`http/cves/2017/CVE-2017-5638.yaml`). It currently carries a trending score of 45 in the Threadlinqs vulnerability feed.

- [mazen160/struts-pwn](https://github.com/mazen160/struts-pwn) (github)
- [Flyteas/Struts2-045-Exp](https://github.com/Flyteas/Struts2-045-Exp) (github)
- [immunio/apache-struts2-CVE-2017-5638](https://github.com/immunio/apache-struts2-CVE-2017-5638) (github)
- [jas502n/S2-045-EXP-POC-TOOLS](https://github.com/jas502n/S2-045-EXP-POC-TOOLS) (github)
- [PolarisLab/S2-045](https://github.com/PolarisLab/S2-045) (github)
- [xsscx/cve-2017-5638](https://github.com/xsscx/cve-2017-5638) (github)
- [jas502n/st2-046-poc](https://github.com/jas502n/st2-046-poc) (github)
- [ret2jazzy/Struts-Apache-ExploitPack](https://github.com/ret2jazzy/Struts-Apache-ExploitPack) (github)

## Affected products and versions

- [Apache Software Foundation](https://intel.threadlinqs.com/vendors/apache-software-foundation): Apache Struts

Affected software packages:

- `maven:org.apache.struts:struts2-core` — patched in 2.3.32
- `maven:org.apache.struts:struts2-core` — patched in 2.5.10.1

## How to fix CVE-2017-5638

The record marks a vendor fix as available for CVE-2017-5638. Fixed versions are recorded for 2 packages: maven:org.apache.struts:struts2-core 2.3.32, maven:org.apache.struts:struts2-core 2.5.10.1. Patch reference: [http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html](http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html). Vendor advisory: [https://cwiki.apache.org/confluence/display/WW/S2-045](https://cwiki.apache.org/confluence/display/WW/S2-045). Because CVE-2017-5638 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2022-05-03. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2017-5638

1 tracked threat in the Threadlinqs corpus references CVE-2017-5638, either in the campaign’s CVE list or as an indicator on the campaign record.

- [IQUALIF French Residential Data Leak, IUT Paris Seine Breach, 19M SMTP Credential Dump and Apache Struts CVE-2017-5638 Access Sale](https://intel.threadlinqs.com/threat/TL-2026-2930) — HIGH · 2026-10-05

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, CISA KEV, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on 2026-10-05. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [arubanetworks.com](http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20170310-0001/)
- [struts.apache.org](https://struts.apache.org/docs/s2-046.html)
- [h20566.www2.hpe.com](https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_us)
- [struts.apache.org (s2 045)](https://struts.apache.org/docs/s2-045.html)

**Exploit and proof of concept**

- [exploit-db.com — exploit](https://exploit-db.com/exploits/41570)

**Third-party advisory**

- [kb.cert.org — third party advisory](https://www.kb.cert.org/vuls/id/834067)

**Vulnerability database entry**

- [securitytracker.com — vdb entry](http://www.securitytracker.com/id/1037973)
- [securityfocus.com — vdb entry](http://www.securityfocus.com/bid/96729)

**Other references**

- [nmap.org](https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html)
- [arstechnica.com](https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/)
- [github.com](https://github.com/rapid7/metasploit-framework/issues/8064)
- [blog.talosintelligence.com](http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html)
- [imperva.com](https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/)

_Showing 14 of 20 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2017-5638
Full detection coverage and IOCs for threats exploiting CVE-2017-5638 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
