Loading...
Skip to main content

CVE-2016-3087 — Vulnerability in org.apache.struts:struts2-core —...

CRITICAL

Apache Struts vulnerable to arbitrary remote code execution due to improper input validation

Published May 14, 2022Updated February 22, 2024Source: osv

Summary

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via vectors related to an `!` (exclamation mark) operator to the REST Plugin.

Advisory Timeline

  • First published May 14, 2022 (1612 days ago).
  • Last revised February 22, 2024 — 649 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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.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.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.20, 2.3.20.12.3.20.3
org.apache.struts:struts2-core
maven
2.3.282.3.28.1
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-3087?
Apache Struts vulnerable to arbitrary remote code execution due to improper input validation 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-3087?
CVE-2016-3087 affects org.apache.struts:struts2-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-3087 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-mmj6-cjj4-hpr5

Related CVEs

Check if you're affected

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

Scan Your Dependencies