Known Exploited Vulnerability
10.0
CRITICAL
CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability - [Actively Exploited]
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.

INFO

Published Date :

March 11, 2017, 2:59 a.m.

Last Modified :

Nov. 7, 2023, 2:49 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.9
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.

Required Action :

Apply updates per vendor instructions.

Public PoC/Exploit Available at Github

CVE-2017-5638 has a 257 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-5638 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache struts
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-5638.

URL Resource
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html Technical Description Third Party Advisory
http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/ Technical Description Third Party Advisory
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html Press/Media Coverage
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
http://www.securityfocus.com/bid/96729 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037973
https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/ Press/Media Coverage
https://cwiki.apache.org/confluence/display/WW/S2-045 Mitigation Vendor Advisory
https://cwiki.apache.org/confluence/display/WW/S2-046
https://exploit-db.com/exploits/41570 Exploit VDB Entry
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519a
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228
https://github.com/mazen160/struts-pwn Exploit
https://github.com/rapid7/metasploit-framework/issues/8064 Exploit
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_us
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03749en_us
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_us
https://isc.sans.edu/diary/22169 Technical Description Third Party Advisory
https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E
https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E
https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html Third Party Advisory
https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt Exploit VDB Entry
https://security.netapp.com/advisory/ntap-20170310-0001/
https://struts.apache.org/docs/s2-045.html
https://struts.apache.org/docs/s2-046.html
https://support.lenovo.com/us/en/product_security/len-14200
https://twitter.com/theog150/status/841146956135124993 Third Party Advisory
https://www.exploit-db.com/exploits/41614/
https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/
https://www.kb.cert.org/vuls/id/834067
https://www.symantec.com/security-center/network-protection-security-advisories/SA145

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This project demonstrates a Web Application Firewall (WAF) simulation using Flask and a vulnerability checker for CVE-2017-5638. The WAF middleware blocks HTTP requests containing specific patterns, and the vulnerability checker tests for and exploits the Apache Struts 2 vulnerability (CVE-2017-5638).

Python

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 3:16 p.m. This repo has been linked 1 different CVEs too.

A super simple Cisa KEV lookup CLI tool leveraging DuckDB

Python

Updated: 1 week, 5 days ago
1 stars 0 fork 0 watcher
Born at : July 2, 2024, 7:56 p.m. This repo has been linked 33 different CVEs too.

None

HTML

Updated: 3 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : June 19, 2024, 11:41 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python Java CSS

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 4, 2024, 7:24 p.m. This repo has been linked 1 different CVEs too.

Demonstrate how usage of the Java Security Manager can prevent Remote Code Execution (RCE) exploits.

Java Shell

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 3, 2024, 12:44 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 10, 2024, 6:55 a.m. This repo has been linked 1 different CVEs too.

This is a demo on the Apache Strut CVE-2017–5638 Vulnerability

Python

Updated: 2 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : April 21, 2024, 5:55 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python Java FreeMarker JavaScript Fluent HTML CSS XSLT

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 27, 2024, 8:22 p.m. This repo has been linked 1 different CVEs too.

None

CSS HTML JavaScript

Updated: 5 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

None

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

None

Python

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 25, 2024, 7:49 p.m. This repo has been linked 1 different CVEs too.

日积月累 漏洞库

Updated: 3 days, 23 hours ago
9 stars 1 fork 1 watcher
Born at : Dec. 15, 2023, 9:20 a.m. This repo has been linked 28 different CVEs too.

None

Dockerfile Python Java CSS

Updated: 7 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 6, 2023, 10:05 a.m. This repo has been linked 1 different CVEs too.

A CLI tool which helps sort CVEs based on the EPSS model

Python

Updated: 4 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 3, 2023, 10:16 a.m. This repo has been linked 5 different CVEs too.

None

Updated: 5 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : Oct. 13, 2023, 4:05 p.m. This repo has been linked 19 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following table lists the changes that have been made to the CVE-2017-5638 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Apache Software Foundation https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519a [No types assigned]
    Added Reference Apache Software Foundation https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228 [No types assigned]
    Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E [No types assigned]
    Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E [No types assigned]
    Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E [No types assigned]
    Removed Reference Apache Software Foundation https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=6b8272ce47160036ed120a48345d9aa884477228
    Removed Reference Apache Software Foundation https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=352306493971e7d5a756d61780d57a76eb1f519a
    Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
    Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922@%3Cannounce.apache.org%3E
    Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7@%3Cannounce.apache.org%3E
  • CVE Modified by [email protected]

    Feb. 24, 2021

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7@%3Cannounce.apache.org%3E [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 26, 2021

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922@%3Cannounce.apache.org%3E [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 31, 2020

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 04, 2018

    Action Type Old Value New Value
    Added Reference http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 10, 2017

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20170310-0001/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 10, 2017

    Action Type Old Value New Value
    Added Reference https://www.kb.cert.org/vuls/id/834067 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 23, 2017

    Action Type Old Value New Value
    Changed 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 mishandles file upload, which allows remote attackers to execute arbitrary commands via a #cmd= string in a crafted Content-Type HTTP header, as exploited in the wild in March 2017. 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.
    Added Reference https://struts.apache.org/docs/s2-046.html [No Types Assigned]
    Added Reference https://struts.apache.org/docs/s2-045.html [No Types Assigned]
    Added Reference https://cwiki.apache.org/confluence/display/WW/S2-046 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 22, 2017

    Action Type Old Value New Value
    Added Reference https://www.symantec.com/security-center/network-protection-security-advisories/SA145 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 16, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/41614/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 09, 2017

    Action Type Old Value New Value
    Added Reference http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 17, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1037973 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 27, 2017

    Action Type Old Value New Value
    Added Reference https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03749en_us [No Types Assigned]
  • CVE Modified by [email protected]

    May. 10, 2017

    Action Type Old Value New Value
    Added Reference https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_us [No Types Assigned]
    Added Reference https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_us [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 30, 2017

    Action Type Old Value New Value
    Added Reference https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/ [No Types Assigned]
    Added Reference https://support.lenovo.com/us/en/product_security/len-14200 [No Types Assigned]
  • Reanalysis by [email protected]

    Mar. 27, 2017

    Action Type Old Value New Value
    Changed CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Reanalysis by [email protected]

    Mar. 15, 2017

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:apache:struts:2.3.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.17:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.31:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.32:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.9:*:*:*:*:*:*:* OR *cpe:2.3:a:apache:struts:2.3.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.17:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.31:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.9:*:*:*:*:*:*:*
  • Reanalysis by [email protected]

    Mar. 14, 2017

    Action Type Old Value New Value
    Changed Reference Type https://twitter.com/theog150/status/841146956135124993 No Types Assigned https://twitter.com/theog150/status/841146956135124993 Third Party Advisory
    Changed Reference Type https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/ No Types Assigned https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/ Press/Media Coverage
    Changed Reference Type http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html No Types Assigned http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html Press/Media Coverage
    Changed Reference Type http://www.securityfocus.com/bid/96729 No Types Assigned http://www.securityfocus.com/bid/96729 Third Party Advisory, VDB Entry
  • Initial Analysis by [email protected]

    Mar. 14, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=6b8272ce47160036ed120a48345d9aa884477228 No Types Assigned https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=6b8272ce47160036ed120a48345d9aa884477228 Patch
    Changed Reference Type https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt No Types Assigned https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt Exploit, VDB Entry
    Changed Reference Type https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html No Types Assigned https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html Third Party Advisory
    Changed Reference Type https://cwiki.apache.org/confluence/display/WW/S2-045 No Types Assigned https://cwiki.apache.org/confluence/display/WW/S2-045 Mitigation, Vendor Advisory
    Changed Reference Type https://exploit-db.com/exploits/41570 No Types Assigned https://exploit-db.com/exploits/41570 Exploit, VDB Entry
    Changed Reference Type http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html No Types Assigned http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html Technical Description, Third Party Advisory
    Changed Reference Type https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=352306493971e7d5a756d61780d57a76eb1f519a No Types Assigned https://git1-us-west.apache.org/repos/asf?p=struts.git;a=commit;h=352306493971e7d5a756d61780d57a76eb1f519a Patch
    Changed Reference Type http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/ No Types Assigned http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/ Technical Description, Third Party Advisory
    Changed Reference Type https://github.com/mazen160/struts-pwn No Types Assigned https://github.com/mazen160/struts-pwn Exploit
    Changed Reference Type https://isc.sans.edu/diary/22169 No Types Assigned https://isc.sans.edu/diary/22169 Technical Description, Third Party Advisory
    Changed Reference Type https://github.com/rapid7/metasploit-framework/issues/8064 No Types Assigned https://github.com/rapid7/metasploit-framework/issues/8064 Exploit
    Added CWE CWE-20
    Added CPE Configuration OR *cpe:2.3:a:apache:struts:2.3.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.17:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.31:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.32:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.3.9:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:apache:struts:2.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.8:*:*:*:*:*:*:* *cpe:2.3:a:apache:struts:2.5.9:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 14, 2017

    Action Type Old Value New Value
    Added Reference https://twitter.com/theog150/status/841146956135124993 [No Types Assigned]
    Added Reference https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/ [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/96729 [No Types Assigned]
    Added Reference http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 13, 2017

    Action Type Old Value New Value
    Added Reference https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt [No Types Assigned]
    Added Reference https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html [No Types Assigned]
    Added Reference https://github.com/mazen160/struts-pwn [No Types Assigned]
    Added Reference https://exploit-db.com/exploits/41570 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-5638 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-5638 weaknesses.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-23: File Content Injection File Content Injection CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-28: Fuzzing Fuzzing CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies Accessing/Intercepting/Modifying HTTP Cookies CAPEC-42: MIME Conversion MIME Conversion CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-63: Cross-Site Scripting (XSS) Cross-Site Scripting (XSS) CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-72: URL Encoding URL Encoding CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-81: Web Server Logs Tampering Web Server Logs Tampering CAPEC-83: XPath Injection XPath Injection CAPEC-85: AJAX Footprinting AJAX Footprinting CAPEC-88: OS Command Injection OS Command Injection CAPEC-101: Server Side Include (SSI) Injection Server Side Include (SSI) Injection CAPEC-104: Cross Zone Scripting Cross Zone Scripting CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-109: Object Relational Mapping Injection Object Relational Mapping Injection CAPEC-110: SQL Injection through SOAP Parameter Tampering SQL Injection through SOAP Parameter Tampering CAPEC-120: Double Encoding Double Encoding CAPEC-135: Format String Injection Format String Injection CAPEC-136: LDAP Injection LDAP Injection CAPEC-153: Input Data Manipulation Input Data Manipulation CAPEC-182: Flash Injection Flash Injection CAPEC-209: XSS Using MIME Type Mismatch XSS Using MIME Type Mismatch CAPEC-230: Serialized Data with Nested Payloads Serialized Data with Nested Payloads CAPEC-231: Oversized Serialized Data Payloads Oversized Serialized Data Payloads CAPEC-250: XML Injection XML Injection CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data Fuzzing for garnering other adjacent user/sensitive data CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding CAPEC-473: Signature Spoof Signature Spoof CAPEC-588: DOM-Based XSS DOM-Based XSS CAPEC-664: Server Side Request Forgery Server Side Request Forgery
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.55 }} 0.00%

score

0.99996

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability