SB2020031132 - Multiple vulnerabilities in Jenkins Cobertura Plugin



SB2020031132 - Multiple vulnerabilities in Jenkins Cobertura Plugin

Published: March 11, 2020

Security Bulletin ID SB2020031132
Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) XML External Entity injection (CVE-ID: CVE-2020-2138)

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.


2) Path traversal (CVE-ID: CVE-2020-2139)

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.


Remediation

Install update from vendor's website.