Apache Struts contains a command injection vulnerability that could allow remote attackers to execute arbitrary code via method:prefix when Dynamic Method Invocation is enabled.
In short
CVE-2016-3081 (Apache Struts Command Injection) has a CVSS 3.1 base score of 8.1, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 8 Oct 2026. Fixed in Apache Struts 2.3.20.3 or later.
Description
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 method: prefix, related to chained expressions.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Apache Struts≥ 2.3.20 < 2.3.20.3 · ≥ 2.3.21 < 2.3.24.3 · ≥ 2.3.25 < 2.3.28.1
- Huawei Anyofficev200r005c00 · v200r006c00
- Huawei Logcenterv100r001c10 · v100r001c20
- Oracle Flexcube Private Banking12.0.1 · 12.0.3 · 12.1.0 · 2.0.0.0
- Oracle Micros Retail Xbri Loss Prevention10.0.1 · 10.5.0 · 10.6.0 · 10.7.0
- Oracle Siebel E-billing7.1
- Huawei Agile Controller-campus Firmwarev100r002c00
- Huawei Firehunter6000 Firmwarev100r001c20
- Huawei Oceanstor 18500f Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 18500 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 18800f Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 18800 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 5300 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 5500 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 5600 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 5800 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 6800 V3 Firmwarev300r001 · v300r002 · v300r003c00 · v300r003c10
- Huawei Oceanstor 9000 Firmwarev100r001c01 · v100r001c30 · v300r005c00
- Huawei Oceanstor N8500 Firmwarev200r001c09spc505 · v200r001c91spc205 · v200r001c91spc900 · v200r001c91spc901
- Huawei Oceanstor Onebox Firmwarev100r003c10
Remediation
Fixed in- Apache Struts≥ 2.3.20.3
References
- http://packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html
- https://struts.apache.org/docs/s2-032.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-3081
- https://www.exploit-db.com/exploits/39756/
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec
- http://www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec
- http://www.securityfocus.com/bid/87327
and 2 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
