Skip to main content

CVE-2016-3082 — Remote Code Execution in struts2-core — CVE Details

CRITICAL

Remote Code Execution in Apache Struts

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

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 19.52% in 30 days. Address in your next planned sprint.

Does your project use an affected org.apache.struts:struts2-core version?

Paste your pom.xml to check it for CVE-2016-3082 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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 (1654 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.apache.struts:struts2-core Maven · Affected: 2.3.282.3.28.1
org.apache.struts:struts2-core Maven · Affected: 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 · Affected: 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. It has a 19.5% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
19.52%
EPSS percentile: 97.9

This places it in the top 5% of EPSS-scored vulnerabilities — 97.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-pvm9-288c-v5wq

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml