Miggo Logo

CVE-2022-28155: XML External Entity Reference vulnerability in Jenkins Pipeline: Phoenix AutoTest Plugin

7.1

CVSS Score
3.1

Basic Information

EPSS Score
0.89609%
Published
3/30/2022
Updated
2/2/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:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.surenpi.jenkins:phoenix-autotestmaven<= 1.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability explicitly references insecure XML parsing in the 'readXml' and 'writeXml' build steps. These functions likely use standard XML parsers (like DocumentBuilder) without disabling DTD/external entity resolution (via setFeature(FEATURE_SECURE_PROCESSING, true)). The advisory specifically calls out these build steps as entry points for XXE attacks, indicating the XML processing logic in these functions lacks proper security configuration.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins Pip*lin*: P*o*nix *utoT*st 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 t** input *il*s *or t** `r***Xml` or `writ*Xml` *uil* st*p to **v* J*nkins

Reasoning

T** vuln*r**ility *xpli*itly r***r*n**s ins**ur* XML p*rsin* in t** 'r***Xml' *n* 'writ*Xml' *uil* st*ps. T**s* *un*tions lik*ly us* st*n**r* XML p*rs*rs (lik* *o*um*nt*uil**r) wit*out *is**lin* *T*/*xt*rn*l *ntity r*solution (vi* s*t***tur*(***TUR*_