Miggo Logo

CVE-2022-27218: Personal tokens stored in plain text by Jenkins incapptic connect uploader Plugin

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.63238%
Published
3/16/2022
Updated
7/19/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.incapptic.plugins:incapptic-connect-uploadermaven<= 1.15

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability explicitly involves unencrypted storage of tokens in job config.xml files. Jenkins plugins typically serialize job configuration data (like tokens) using XStream or similar frameworks. The functions responsible for defining/storing the token field (e.g., a setter or builder class) and the serialization/deserialization logic (configure method) are the most likely candidates. While no direct code was provided, the pattern matches Jenkins plugin vulnerability paradigms (CWE-256/CWE-522), and the plugin's lack of encryption in config.xml implies insecure handling in these core configuration functions.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins in**ppti* *onn**t uplo***r Plu*in *.** *n* **rli*r stor*s tok*ns 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 *xpli*itly involv*s un*n*rypt** stor*** o* tok*ns in jo* `*on*i*.xml` *il*s. J*nkins plu*ins typi**lly s*ri*liz* jo* *on*i*ur*tion **t* (lik* tok*ns) usin* XStr**m or simil*r *r*m*works. T** `*un*tions` r*sponsi*l* *or ***inin*/stor