CVE-2017-9791

CRITICAL KEV NUCLEI

Apache Struts 2.1.x-2.3.x - RCE

Title source: llm

Description

The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

Exploits (10)

github WRITEUP 3,480 stars
by qazbnm456 · poc
https://github.com/qazbnm456/awesome-cve-poc/tree/master/CVE-2017-9791.md
nomisec WORKING POC 27 stars
by dragoneeg · remote
https://github.com/dragoneeg/Struts2-048
github WRITEUP 14 stars
by xbl3 · poc
https://github.com/xbl3/awesome-cve-poc_qazbnm456/tree/master/CVE-2017-9791.md
nomisec WORKING POC 2 stars
by IanSmith123 · remote
https://github.com/IanSmith123/s2-048
github WORKING POC 1 stars
by vaishakhcv · perlpoc
https://github.com/vaishakhcv/CVE-exploits/tree/master/CVE-2017-9791
nomisec WORKING POC
by xfer0 · remote
https://github.com/xfer0/CVE-2017-9791
github WORKING POC
by winterwolf32 · perlpoc
https://github.com/winterwolf32/CVE_Exploits-/tree/master/CVE-2017-9791
metasploit WORKING POC EXCELLENT
by icez <ic3z at qq dot com>, Nixawk, xfer0 · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts2_code_exec_showcase.rb
exploitdb WORKING POC VERIFIED
by Vex Woo · pythonwebappsmultiple
https://www.exploit-db.com/exploits/42324
exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotemultiple
https://www.exploit-db.com/exploits/44643

Nuclei Templates (1)

Apache Struts2 S2-053 - Remote Code Execution
CRITICALVERIFIEDby pikpikcu
Shodan: title:"Struts2 Showcase" || http.title:"struts2 showcase" || http.html:"struts problem report" || http.html:"apache struts"
FOFA: title="Struts2 Showcase" || title="struts2 showcase" || body="apache struts" || body="struts problem report"

Scores

CVSS v3 9.8
EPSS 0.9424
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation Intel

CISA KEV 2022-02-10
VulnCheck KEV 2020-06-24
InTheWild.io 2019-05-29
ENISA EUVD EUVD-2022-1954

Classification

CWE
CWE-20
Status draft

Affected Products (34)

apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
apache/struts
... and 19 more

Timeline

Published Jul 10, 2017
KEV Added Feb 10, 2022
Tracked Since Feb 18, 2026