GitHub Advisoryadvisory · Maven

GHSA-4wrr-9h5r-m92w Apache Struts Remote Java Code Execution

CRITICAL Published 2022-05-04 Modified 2026-04-24 Official page ↗
Aliases
CVE-2012-0391
Ecosystem
Maven
Packages
org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20, CWE-94
Reviewed
2023-08-29

Affected packages

• Maven org.apache.struts:struts2-core: < 2.2.3.1 → fixed in 2.2.3.1 • Maven org.apache.struts.xwork:xwork-core: < 2.2.3.1 → fixed in 2.2.3.1

Description

The `ExceptionDelegator` component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

Related

Alias · CVE (1)

  • CVE-2012-0391 The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception… vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-94 Improper Control of Generation of Code weakness

References