Miggo Logo

CVE-2020-2142: Missing permission checks in Jenkins P4 Plugin

4.3

CVSS Score
3.1

Basic Information

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

Technical Details

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

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from missing or incorrect permission checks in HTTP endpoint handlers. The commit diff shows these methods lacked Item.BUILD checks (added in the patch) and used weaker permissions (e.g., AbstractProject.BUILD). The advisory confirms attackers with Overall/Read could exploit these endpoints. TagAction.doSubmit had a permission check (PerforceScm.TAG), but the form's GET method allowed CSRF; however, the primary issue was missing authorization in the listed functions.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* missin* p*rmission ****k in J*nkins P* Plu*in *.**.** *n* **rli*r *llows *tt**k*rs wit* Ov*r*ll/R*** p*rmission to tri***r *uil*s or *** l***ls in t** P*r*or** r*pository. P* Plu*in *.**.** *ppropri*t* us*r p*rmissions *or t** *****t** *TTP *n*poi

Reasoning

T** vuln*r**ility st*mm** *rom missin* or in*orr**t p*rmission ****ks in *TTP *n*point **n*l*rs. T** *ommit *i** s*ows t**s* m*t*o*s l**k** `It*m.*UIL*` ****ks (***** in t** p*t**) *n* us** w**k*r p*rmissions (*.*., `**str**tProj**t.*UIL*`). T** **vi