XML External Entity injection in Apache Cocoon



Published: 2020-09-16
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-11991
CWE ID CWE-611
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Apache Cocoon
Server applications / Frameworks for developing and running applications

Vendor Apache Foundation

Security Advisory

This security advisory describes one medium risk vulnerability.

1) XML External Entity injection

Risk: Medium

CVSSv3: 6.5 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-11991

CWE-ID: CWE-611 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input when using the StreamGenerator. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Cocoon: -, 2.1.12

CPE External links

https://lists.apache.org/thread.html/r77add973ea521185e1a90aca00ba9dae7caa8d8b944d92421702bb54%40%3Cusers.cocoon.apache.org%3E

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.