Miggo Logo

CVE-2020-2304: XXE vulnerability in Jenkins Subversion Plugin

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.78727%
Published
5/24/2022
Updated
12/20/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jenkins-ci.plugins:subversionmaven< 2.13.22.13.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insecure XML parser configuration in the SubversionChangeLogParser class. The commit diff shows security features were added to the Digester initialization (disallow-doctype-decl, external entity handling). The parse() method (inherited from ChangeLogParser) uses this Digester instance to process XML input. In vulnerable versions (<2.13.2), the absence of these security features in the parser configuration made XXE exploitation possible when processing attacker-controlled changelog files.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

J*nkins Su*v*rsion Plu*in *.**.* *n* **rli*r *o*s not *on*i*ur* its XML p*rs*r to pr*v*nt XML *xt*rn*l *ntity (XX*) *tt**ks. T*is *llows *tt**k*rs **l* to *ontrol *n ***nt pro**ss to **v* J*nkins p*rs* * *r**t** ***n**lo* *il* t**t us*s *xt*rn*l *nt

Reasoning

T** vuln*r**ility st*ms *rom ins**ur* XML p*rs*r *on*i*ur*tion in t** `Su*v*rsion***n**Lo*P*rs*r` *l*ss. T** *ommit *i** s*ows s**urity ***tur*s w*r* ***** to t** `*i**st*r` initi*liz*tion (*is*llow-*o*typ*-***l, *xt*rn*l *ntity **n*lin*). T** `p*rs*