XML External Entity injection in NUnit plugin for Jenkins

This security advisory describes one medium risk vulnerability.


1) XML External Entity injection


Severity: Medium


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


CVE-ID: CVE-2020-2115


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


Description

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 its 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.


Mitigation

Install updates from vendor's website.


Vulnerable software versions

NUnit: 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25


CPE
External links

http://www.openwall.com/lists/oss-security/2020/02/12/3https://jenkins.io/security/advisory/2020-02-12/#SECURITY-1752


Q & A


Can this vulnerability be exploited remotely?


Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.


Is there known malware, which exploits this vulnerability?


..

Support the originator by clicking the read the rest link below.