Cross-site Request Forgery (CSRF) The advisory has been revoked - it doesn't affect any version of package libstruts1.2-java  (opens in a new tab)


Threat Intelligence

EPSS
3.35% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1204-LIBSTRUTS12JAVA-643031
  • published10 Sept 2020
  • disclosed5 Sept 2012

Introduced: 5 Sep 2012

CVE-2012-4386  (opens in a new tab)
CWE-352  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:12.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libstruts1.2-java package and not the libstruts1.2-java package as distributed by Ubuntu.

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.