Miggo Logo

CVE-2020-2170: Stored XSS vulnerability in Jenkins RapidDeploy Plugin

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.46137%
Published
5/24/2022
Updated
1/31/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jenkins-ci.plugins:rapiddeploy-jenkinsmaven< 4.2.14.2.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unescaped package names being displayed in a UI table. Jenkins plugins typically use Jelly templates for UI rendering. The function rendering the package name values in the table would be vulnerable if it directly outputs untrusted data without using Jenkins' escape() function or equivalent XSS protections. The fix in 4.2.1 specifically mentions escaping package names, confirming the vulnerability exists in the display logic of package names obtained from remote servers.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

R*pi***ploy Plu*in *.* *n* **rli*r *o*s not *s**p* p**k*** n*m*s in its *ispl*y** t**l* o* p**k***s o*t*in** *rom * r*mot* s*rv*r. T*is r*sults in * stor** *ross-sit* s*riptin* (XSS) vuln*r**ility *xploit**l* *y us*rs **l* to *on*i*ur* jo*s. R*pi***

Reasoning

T** vuln*r**ility st*ms *rom un*s**p** p**k*** n*m*s **in* *ispl*y** in * UI t**l*. J*nkins plu*ins typi**lly us* J*lly t*mpl*t*s *or UI r*n**rin*. T** `*un*tion` r*n**rin* t** p**k*** n*m* v*lu*s in t** t**l* woul* ** vuln*r**l* i* it *ir**tly outpu