10

CVE-2017-5638: Apache Struts Remote Code Execution Vulnerability

CVSS: 10.0v2.0HighKEVRansomwareAnalyzed
AliasesGHSA-j77q-2qqg-6989
Published 11-03-2017Last modified 21-10-2025

Vulnerability summary

CVE-2017-5638 is a high (CVSS 10.0) vulnerability in Apache Struts. It is known to be exploited: CISA lists it, first on 03-11-2021. It has been used in ransomware campaigns. EPSS estimates a 100.00% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 11 public exploits are recorded.

Overall risk
100/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
100.00%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
RansomwareKnown useFlagged by CISA
Public exploits11github, reference, exploit-database, metasploit

Timeline

  1. 11-03-2017
    PublishedVulnerability first disclosed.
  2. 03-11-2021
    Added to CISA KEVApache Struts Remote Code Execution Vulnerability
  3. 03-05-2022
    CISA remediation dueApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 3 versions

EPSS trend

Probability

100.00%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 100.00% on 18-09-2026

18-09-202618-10-2026
EPSS score
100.00%

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
03-11-2021
Federal due date
03-05-2022
Ransomware

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2017-5638

Public exploits

11 found
  • githubUnverified

    Metasploit Framework

    Maturity: poc

  • githubUnverified

    Struts Pwn

    Maturity: poc

  • referenceUnverified

    Exploit Reference (nmap.org)

    Maturity: unknown

Show all 11 exploits
  • referenceUnverified

    Exploit Reference (arstechnica.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (blog.talosintelligence.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (isc.sans.edu)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (blog.trendmicro.com)

    Maturity: unknown

  • exploit-databaselinuxVerified

    Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Execution

    Maturity: poc

  • exploit-databaseremotemultipleVerified

    Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit)

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    Apache Struts Jakarta Multipart Parser OGNL Injection

    exploit/multi/http/struts2_content_type_ognl

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Ibm3 products
Apache1 product
  • struts≥ 2.2.3, < 2.3.32 | ≥ 2.5.0, < 2.5.10.1
Apache software foundation1 product
Arubanetworks1 product
Hp1 product
Lenovo1 product
Netapp1 product
Oracle1 product
Org.apache.struts1 product
  • struts2-core≥ 2.3.0, < 2.3.32 | ≥ 2.5.0, < 2.5.10.1

9 vendors · 11 products

References

51 links
Show all 51 references