Loading...
Skip to main content

CVE-2016-3082 — Remote Code Execution in...

CRITICAL

Remote Code Execution in Apache Struts

Published May 17, 2022Updated February 16, 2024Source: osv

Summary

XSLTResult allows for the location of a stylesheet being passed as a request parameter. In some circumstances this can be used to inject remotely executable code.

Advisory Timeline

  • First published May 17, 2022 (1609 days ago).
  • Last revised February 16, 2024 — 640 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.struts:struts2-core to 2.3.28.1 or later
<!-- Update pom.xml dependency version to 2.3.28.1 for org.apache.struts:struts2-core -->
Maven
Update org.apache.struts:struts2-core to 2.3.20.3 or later
<!-- Update pom.xml dependency version to 2.3.20.3 for org.apache.struts:struts2-core -->
Maven
Update org.apache.struts:struts2-core to 2.3.24.3 or later
<!-- Update pom.xml dependency version to 2.3.24.3 for org.apache.struts:struts2-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.struts:struts2-core
maven
2.3.282.3.28.1
org.apache.struts:struts2-core
maven
2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12 (+36 more)2.3.20.3
org.apache.struts:struts2-core
maven
2.3.24, 2.3.24.12.3.24.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2016-3082?
Remote Code Execution in Apache Struts This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2016-3082?
CVE-2016-3082 affects org.apache.struts:struts2-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-3082 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-pvm9-288c-v5wq

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies