Miggo Logo

CVE-2017-1000505: Exposure of Sensitive Information to an Unauthorized Actor Jenkins Script Security Plugin

6.5

CVSS Score
3.0

Basic Information

EPSS Score
0.55567%
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/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:script-securitymaven<= 1.361.37

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from Groovy type coercion bypassing sandbox checks for File constructor usage. The patch explicitly subjects coercions to the same checks as new File(String). Key functions are those handling constructor interception (SandboxInterceptor#onNewInstance) and constructor approval (Blacklist#isConstructorBlacklisted). These functions in ≤1.36 did not account for coercion-triggered File instantiations, allowing unauthorized file reads. The high confidence for SandboxInterceptor stems from its direct role in intercepting object creation, while Blacklist has medium confidence due to indirect involvement in approval logic.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In J*nkins S*ript S**urity Plu*in v*rsion *.** *n* **rli*r, us*rs wit* t** **ility to *on*i*ur* s*n**ox** *roovy s*ripts *r* **l* to us* * typ* *o*r*ion ***tur* in *roovy to *r**t* n*w `*il*` o*j**ts *rom strin*s. T*is *llow** r***in* *r*itr*ry *il*s

Reasoning

T** vuln*r**ility st*ms *rom *roovy typ* *o*r*ion *yp*ssin* s*n**ox ****ks *or *il* *onstru*tor us***. T** p*t** *xpli*itly su*j**ts *o*r*ions to t** s*m* ****ks *s `n*w *il*(Strin*)`. K*y *un*tions *r* t*os* **n*lin* *onstru*tor int*r**ption (S*n**o