Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2016-3081

CVE-2016-3081: Improper Neutralization of Special Elements used in a Command ('Command Injection')

May 14, 2022 (updated July 28, 2023)

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.

References

  • packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html
  • www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en
  • www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
  • www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
  • www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec
  • www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec
  • github.com/advisories/GHSA-8c6j-ffmf-q6vm
  • nvd.nist.gov/vuln/detail/CVE-2016-3081
  • struts.apache.org/docs/s2-032.html
  • web.archive.org/web/20210123152457/http://www.securityfocus.com/bid/91787
  • web.archive.org/web/20210225192113/http://www.securityfocus.com/bid/87327
  • web.archive.org/web/20210226011418/http://www.securitytracker.com/id/1035665
  • www.exploit-db.com/exploits/39756/

Code Behaviors & Features

Detect and mitigate CVE-2016-3081 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.19 up to 2.3.20.2, all versions starting from 2.3.21 up to 2.3.24.1, all versions starting from 2.3.25 up to 2.3.28

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.struts/struts2-core/CVE-2016-3081.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:37 +0000.