.. / CVE-2016-3081

Exploit for Apache S2-032 Struts - Remote Code Execution (CVE-2016-3081)

Description:

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when dynamic method invocation is enabled, allows remote attackers to execute arbitrary code via method: prefix (related to chained expressions).

Nuclei Template

View the template here CVE-2016-3081.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2016/CVE-2016-3081.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2016-3081
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en
https://cwiki.apache.org/confluence/display/WW/S2-032
https://struts.apache.org/docs/s2-032.html
http://web.archive.org/web/20211207042547/https://securitytracker.com/id/1035665