Miggo Logo

CVE-2025-31721: Jenkins Missing Permission Check

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.04705%
Published
4/2/2025
Updated
4/2/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jenkins-ci.main:jenkins-coremaven>= 2.500, < 2.5042.504
org.jenkins-ci.main:jenkins-coremaven< 2.492.32.492.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The security patch adds a Computer.CONFIGURE permission check in ComputerSet.doCreateItem() that was previously missing. The vulnerable versions allowed agent copying through this endpoint without verifying Configure permission. The method signature is clearly visible in the patch diff modifying the agent copy logic, with the added code throwing AccessDeniedException when unauthorized. This matches the CVE description about missing authorization for secret access during agent copy operations.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins *.*** *n* **rli*r, LTS *.***.* *n* **rli*r *o*s not p*r*orm * p*rmission ****k in *n *TTP *n*point. T*is *llows *tt**k*rs wit* *omput*r/*r**t* p*rmission *ut wit*out *omput*r/*on*i*ur* p*rmission to *opy *n ***nt, **inin* ****ss to *n*rypt**

Reasoning

T** s**urity p*t** ***s * `*omput*r.*ON*I*UR*` p*rmission ****k in `*omput*rS*t.*o*r**t*It*m()` t**t w*s pr*viously missin*. T** vuln*r**l* v*rsions *llow** ***nt *opyin* t*rou** t*is *n*point wit*out v*ri*yin* `*on*i*ur*` p*rmission. T** m*t*o* si*n