Vulnerabilities · 2012 · Apache
CVE-2012-4386
Apache Struts vulnerability
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
Affected products
Struts. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/50420 · Vendor Advisory
- struts.apache.org/2.x/docs/s2-010.html · Vendor Advisory
- www.openwall.com/lists/oss-security/2012/09/01/4
- www.openwall.com/lists/oss-security/2012/09/01/5
- www.securityfocus.com/bid/55346
- exchange.xforce.ibmcloud.com/vulnerabilities/78182
- issues.apache.org/jira/browse/WW-3858
- nvd.nist.gov/vuln/detail/CVE-2012-4386
- cve.org/CVERecord?id=CVE-2012-4386
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.