### [CVE-2012-0392](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0392) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method. ### POC #### Reference - http://www.exploit-db.com/exploits/18329 #### Github - https://github.com/0day666/Vulnerability-verification - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/Elsfa7-110/kenzer-templates - https://github.com/SexyBeast233/SecBooks - https://github.com/Zero094/Vulnerability-verification - https://github.com/ice0bear14h/struts2scan - https://github.com/superlink996/chunqiuyunjingbachang