VDB
Sign up
MEDIUM

GHSA-2ppp-xj34-vvf7

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

Quick fix

GHSA-2ppp-xj34-vvf7 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts:struts2-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 0Fixed in: 2.2.3.1
Fix# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts:struts2-core
Maven/org.apache.struts.xwork:xwork-core
Introduced in: 0Fixed in: 2.2.3.1
Fix# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts.xwork:xwork-core

References