VDB
Sign up
MEDIUM

GHSA-hxqq-w4mr-mc62

Apache Struts's ParameterInterceptor component does not prevent access to public constructors

Quick fix

GHSA-hxqq-w4mr-mc62 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

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

Details

The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.

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.3.1.1
Fix# pom.xml: bump <version>2.3.1.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