XML External Entity injection in Cobertura - CVE-2020-2138

 

XML External Entity injection in Cobertura - CVE-2020-2138

Published: March 11, 2020


Vulnerability identifier: #VU26008
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-2138
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote user able to control the input files for the "Publish Cobertura Coverage Report" post-build step 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.


Affected software

Cobertura

How to mitigate CVE-2020-2138

Install updates from vendor's website.

Cobertura - update to 1.16

External References

Related Security Bulletins