.. / CVE-2013-1965

Exploit for Apache Struts2 S2-012 RCE (CVE-2013-1965)

Description:

Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.

Nuclei Template

View the template here CVE-2013-1965.yaml

Validate with Nuclei

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

References:

https://github.com/GhostTroops/myhktools
https://bugzilla.redhat.com/show_bug.cgi?id=967655
https://github.com/CrackerCat/myhktools
https://nvd.nist.gov/vuln/detail/CVE-2013-1965
http://struts.apache.org/development/2.x/docs/s2-012.html