NetSight
medium6.8Public exploit code

CVE-2012-0392

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.struts:struts2-core< 2.2.3.12.2.3.1
mavenorg.apache.struts.xwork:xwork-core< 2.2.3.12.2.3.1

Affected products

VendorProductAffected versions
ApacheStruts
from 2.0.0 before 2.3.1

References