Miggo Logo

CVE-2022-27217:
Passwords stored in plain text by Jenkins Vmware vRealize CodeStream Plugin

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.66876%
Published
3/16/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:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.vmware.vcac:vmware-vrealize-codestreammaven<= 1.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unencrypted password storage in job config.xml files. Jenkins plugins typically serialize configuration data through XStream or similar mechanisms. The pattern indicates: 1) Password fields are stored as plain text strings rather than using Jenkins' Secret class 2) Data binding in configuration forms doesn't employ credential masking 3) No encryption is applied during XML serialization/deserialization. While exact code isn't available, the structure aligns with common Jenkins plugin credential handling flaws where sensitive fields aren't wrapped in Secret objects or encrypted before persistence.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins Vmw*r* vR**liz* *o**Str**m Plu*in *.* *n* **rli*r stor*s p*sswor*s un*n*rypt** in jo* *on*i*.xml *il*s on t** J*nkins *ontroll*r w**r* t**y **n ** vi*w** *y us*rs wit* *xt*n*** R*** p*rmission, or ****ss to t** J*nkins *ontroll*r *il* syst*m.

Reasoning

T** vuln*r**ility st*ms *rom un*n*rypt** p*sswor* stor*** in jo* *on*i*.xml *il*s. J*nkins plu*ins typi**lly s*ri*liz* *on*i*ur*tion **t* t*rou** XStr**m or simil*r m****nisms. T** p*tt*rn in*i**t*s: *) P*sswor* *i*l*s *r* stor** *s pl*in t*xt strin*