Multiple vulnerabilities in Jenkins Cobertura Plugin



Published: 2020-03-11
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-2138
CVE-2020-2139
CWE-ID CWE-611
CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Cobertura
Web applications / Modules and components for CMS

Vendor Jenkins

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) XML External Entity injection

EUVDB-ID: #VU26008

Risk: Medium

CVSSv3.1: 6.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-2138

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

Exploit availability: No

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

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Cobertura: 1.0 - 1.15

External links

http://www.openwall.com/lists/oss-security/2020/03/09/1
http://jenkins.io/security/advisory/2020-03-09/#SECURITY-1700


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?

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

2) Path traversal

EUVDB-ID: #VU26009

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-2139

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to the affected plugin does not validate file paths from the XML file it parses. A remote authenticated attacker able to control the coverage report content can overwrite any file on the Jenkins master file system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Cobertura: 1.0 - 1.15

External links

http://www.openwall.com/lists/oss-security/2020/03/09/1
http://jenkins.io/security/advisory/2020-03-09/#SECURITY-1668


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?

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



###SIDEBAR###