PT-2020-15535 · Jenkins · Jenkins Mercurial Plugin+1

Daniel Beck

·

Published

2020-11-04

·

Updated

2023-10-25

·

CVE-2020-2305

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Jenkins Mercurial Plugin versions 2.11 and earlier Jenkins Mercurial Plugin versions prior to 2.12 Jenkins Mercurial Plugin versions prior to 2.10.1 Jenkins Mercurial Plugin versions prior to 2.9.1 Jenkins Mercurial Plugin versions prior to 2.8.1
Description The issue allows attackers who can control an agent process to have Jenkins parse a crafted changelog file, using external entities for extraction of secrets from the Jenkins controller or server-side request forgery. This is due to the XML parser not being configured to prevent XML external entity (XXE) attacks.
Recommendations For Jenkins Mercurial Plugin versions 2.11 and earlier, update to version 2.12 or later. For Jenkins Mercurial Plugin versions prior to 2.10.1, update to version 2.10.1 or later. For Jenkins Mercurial Plugin versions prior to 2.9.1, update to version 2.9.1 or later. For Jenkins Mercurial Plugin versions prior to 2.8.1, update to version 2.8.1 or later. As a temporary workaround, consider disabling the XML parser until a patch is available.

Exploit

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-2305
GHSA-X58R-WXC3-7PQR
RHSA-2021:0034
RHSA-2021:0038
RHSA-2021:0282
RHSA-2021:0637

Affected Products

Jenkins
Jenkins Mercurial Plugin