CVE-2016-3081

HIGH(8.1)KEVLikely Exploited

Apache Struts Command Injection Vulnerability

Description

CVE-2016-3081 is a high-severity command injection vulnerability in Apache Struts that allows remote attackers to execute arbitrary code when Dynamic Method Invocation is enabled, by abusing the method: prefix in chained expressions. Affected versions are Struts 2.3.19 through 2.3.20.2, 2.3.21 through 2.3.24.1, and 2.3.25 through 2.3.28; the issue is tracked by Apache as S2-032. Because Struts sits in the request-handling path of Java web applications, this vulnerability turns an ordinary HTTP request into code execution with the privileges of the application server. The flaw also reaches far beyond Struts itself: Huawei storage and network products, Oracle FLEXCUBE, Oracle Micros Retail and Siebel eBilling all embed affected Struts versions. CISA has added CVE-2016-3081 to the Known Exploited Vulnerabilities catalog, its EPSS score of 96.1% is in the 99.9th percentile, and its remediation deadline of October 11, 2026 has already passed.

KEV Information

Vendor
Apache
Product
Struts
Date Added
October 8, 2026
Due Date
October 11, 2026
Required Action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
huaweiagile controller-campus firmwarev100r002c00
huaweianyofficev200r005c00; v200r006c00
huaweilogcenterv100r001c10; v100r001c20
huaweifirehunter6000 firmwarev100r001c20
huaweioceanstor 5300 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 5500 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 5600 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 5800 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 6800 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 18500 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 18500f firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 18800 v3 firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 18800f firmwarev300r001; v300r002; v300r003c00; v300r003c10
huaweioceanstor 9000 firmwarev100r001c01; v100r001c30; v300r005c00
huaweioceanstor n8500 firmwarev200r001c09spc505; v200r001c91spc205; v200r001c91spc900; v200r001c91spc901
huaweioceanstor onebox firmwarev100r003c10
apachestruts>= 2.3.20, < 2.3.20.3; >= 2.3.21, < 2.3.24.3; >= 2.3.25, < 2.3.28.1
oracleflexcube private banking2.0.0.0; 2.0.1; 2.2.0; 12.0.1; 12.0.3; 12.1.0
oraclemicros retail xbri loss prevention10.0.1; 10.5.0; 10.6.0; 10.7.0; 10.8.0; 10.8.1
oraclesiebel e-billing7.1

Multiple CVSS Assessments

Source: [email protected](Primary)
8.1
HIGH

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

Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0(Secondary)
8.1
HIGH

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

References

Weakness Type

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Command injection occurs when software builds a command from externally influenced input and fails to neutralize the elements that change what the command does. In Apache Struts with Dynamic Method Invocation enabled, a request parameter carrying the method: prefix is resolved as an OGNL expression rather than treated as data, and chained expressions let the attacker reach beyond method selection into arbitrary code execution inside the application.

Learn more: CWE-77 — Improper Neutralization of Special Elements used in a Command ('Command Injection')

Impact Analysis

CVE-2016-3081 has a CVSS 3.1 base score of 8.1 (High) with the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Attack Vector (Network), Privileges Required (None), User Interaction (None): the attack is an HTTP request to a public endpoint, needing no account and no victim action. Attack Complexity (High) is the only metric holding the score down, and it reflects the precondition rather than the difficulty of the exploit: Dynamic Method Invocation must be enabled in the Struts configuration. Where it is, exploitation is straightforward and fully automated tooling exists. Confidentiality, Integrity and Availability (all High): code runs with the privileges of the Java application server, which exposes application data and database credentials, allows tampering with the application's behaviour and stored data, and permits taking the service down. For embedded deployments — Huawei OceanStor and FireHunter appliances, Oracle FLEXCUBE Private Banking, Micros Retail XBRi, Siebel eBilling — the exposure is harder to see and therefore often still open. The EPSS score of 96.1% in the 99.9th percentile reflects a decade of continuous exploitation of this Struts flaw.

Exploit Maturity

Public exploit code for CVE-2016-3081 is widely available. The reference set includes an Exploit-DB entry, the Packet Storm Security advisory Apache Struts 2.3.28 Dynamic Method Invocation Remote Code Execution, and a ready-made Metasploit module exploit/multi/http/struts_dmi_exec, so exploitation requires no development work at all. CISA has added the vulnerability to the Known Exploited Vulnerabilities catalog, confirming exploitation in the wild, and the deadline of October 11, 2026 has already passed; the entry does not flag ransomware usage. The EPSS score of 96.1%, in the 99.9th percentile, is among the highest values the model produces and matches the reality of a decade-old Struts remote code execution flaw with a Metasploit module: any reachable, unpatched instance with Dynamic Method Invocation enabled will be found by automated scanning. Treat discovery of an affected version as an incident, not a backlog item.

Remediation

  1. Carry out the action CISA requires, immediately. Apply mitigations in accordance with Apache's instructions, comply with CISA's BOD 26-04 "Prioritizing Security Updates Based on Risk" guidance and the "Forensics Triage Requirements", and discontinue use of the product if mitigations are unavailable. The KEV remediation deadline of October 11, 2026 has already passed.
  2. Upgrade Apache Struts to 2.3.20.3, 2.3.24.3 or 2.3.28.1 or later, the fixed releases named in the Apache advisory S2-032. Given that the Struts 2.3 line is long out of support, migrating to a currently maintained Struts release is the sounder outcome for any application still on it.
  3. Disable Dynamic Method Invocation. The vulnerability only applies when DMI is enabled, so setting struts.enable.DynamicMethodInvocation to false is an effective immediate mitigation where an upgrade cannot be done at once — and a configuration worth keeping off permanently, since DMI exposes method selection to the request.
  4. Find the embedded instances, not just your own applications. Affected Struts versions ship inside Huawei Agile Controller-Campus, AnyOffice, LogCenter, FireHunter6000 and the OceanStor storage family, and inside Oracle FLEXCUBE Private Banking, Micros Retail XBRi Loss Prevention and Siebel eBilling; apply the respective vendor updates, such as the Huawei advisory and the Oracle Critical Patch Update of July 2016.
  5. Assume exploitation on anything that was exposed, and harden the stack. Review application and web server logs for request parameters containing method: and OGNL syntax, look for web shells and unexpected files in the deployment directory, rotate database and service credentials the application holds, and run the application server as an unprivileged account with outbound network restrictions so that code execution does not immediately become full host and network compromise.

Technical Details

With Dynamic Method Invocation enabled, Struts lets a request select the action method through a method: prefix, and that prefix is resolved as an OGNL expression. The framework fails to neutralize the special elements in such an expression, so a chained expression supplied in the request escapes method selection and is evaluated in full — the CWE-77 mechanism applied to an expression language rather than a shell. Because OGNL evaluation occurs inside the running Java application with its full class access, the attacker reaches runtime facilities that execute code with the privileges of the application server process. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H records the shape of the attack: remote, unauthenticated, no interaction, with High attack complexity standing in for the configuration precondition that DMI must be enabled, and complete impact across confidentiality, integrity and availability within the application server's own security authority. The fixed releases 2.3.20.3, 2.3.24.3 and 2.3.28.1 correct the handling of the prefix.

Frequently Asked Questions

Is CVE-2016-3081 being actively exploited?

Yes. CISA has added CVE-2016-3081 to the Known Exploited Vulnerabilities catalog, and the remediation deadline of October 11, 2026 has already passed. Public exploit code is available through Exploit-DB, Packet Storm Security and a Metasploit module, and the EPSS score of 96.1% places the vulnerability in the 99.9th percentile for exploitation likelihood. Use in ransomware campaigns is not recorded in the KEV entry.

What products are affected by CVE-2016-3081?

CVE-2016-3081 affects Apache Struts 2.3.19 through 2.3.20.2, 2.3.21 through 2.3.24.1, and 2.3.25 through 2.3.28, when Dynamic Method Invocation is enabled. It also affects products that embed those Struts versions, including Huawei Agile Controller-Campus, AnyOffice, LogCenter, FireHunter6000 and the OceanStor storage family, as well as Oracle FLEXCUBE Private Banking, Oracle Micros Retail XBRi Loss Prevention and Oracle Siebel eBilling.

How do I fix CVE-2016-3081?

Upgrade Apache Struts to 2.3.20.3, 2.3.24.3 or 2.3.28.1 or later per Apache advisory S2-032, or better, migrate to a supported Struts release. As an immediate mitigation, disable Dynamic Method Invocation by setting struts.enable.DynamicMethodInvocation to false, since the vulnerability only applies when DMI is enabled. For embedded instances in Huawei and Oracle products, apply the respective vendor updates.

How severe is CVE-2016-3081?

CVE-2016-3081 is rated High with a CVSS 3.1 base score of 8.1: unauthenticated remote code execution with full confidentiality, integrity and availability impact, scored just below critical because Dynamic Method Invocation must be enabled. Its EPSS score of 96.1% is in the 99.9th percentile. Where DMI is enabled and the application is reachable, the practical severity is equivalent to a critical finding.

CVSS Score

8.1
HIGH(8.1)

EPSS Score

EPSS Score96.92%
EPSS Percentile99.9%

Dates

PublishedApril 26, 2016
Last ModifiedOctober 9, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.