Miggo Logo

CVE-2019-10318: Jenkins Azure AD Plugin stored the client secret unencrypted

3.3

CVSS Score
3.0

Basic Information

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

Technical Details

CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jenkins-ci.plugins:azure-admaven<= 0.3.30.3.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from unencrypted storage of client secrets in Jenkins' config.xml. The commit diff shows the critical change occurred in AzureSecurityRealm.java's XML marshaling logic, where client secret storage was modified from plaintext (getClientSecret()) to encrypted (getClientSecretSecret()). The ConverterImpl.marshal method was directly responsible for writing this sensitive data to persistent storage without encryption in vulnerable versions.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins *zur* ** Plu*in stor** t** *li*nt s**r*t un*n*rypt** in t** *lo**l *on*i*.xml *on*i*ur*tion *il* on t** J*nkins *ontroll*r. T**s* *r***nti*ls *oul* ** vi*w** *y us*rs wit* ****ss to t** J*nkins *ontroll*r *il* syst*m. *zur* ** Plu*in now sto

Reasoning

T** vuln*r**ility st*mm** *rom un*n*rypt** stor*** o* *li*nt s**r*ts in J*nkins' `*on*i*.xml`. T** *ommit *i** s*ows t** *riti**l ***n** o**urr** in `*zur*S**urityR**lm.j*v*`'s XML m*rs**lin* lo*i*, w**r* *li*nt s**r*t stor*** w*s mo*i*i** *rom pl*in