Miggo Logo

CVE-2020-2312:
Password written to the build log by Jenkins SQLPlus Script Runner Plugin

6.5

CVSS Score

Basic Information

EPSS Score
-
Published
5/24/2022
Updated
10/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/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:sqlplus-script-runnermaven< 2.0.132.0.13

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unredacted password exposure in build logs during sqlplus command execution. The execute method would logically be responsible for constructing the command line (including sensitive parameters) and logging the invocation. Jenkins plugin security fixes for credential leakage typically involve modifying command logging mechanisms in execution handlers. The advisory explicitly states the flaw was corrected by stopping password logging, strongly implicating the command execution/logging function as the vulnerable component.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins SQLPlus S*ript Runn*r Plu*in *.*.** *n* **rli*r prints t** `sqlplus` *omm*n* invo**tion to t** *uil* lo*s. T*is lo* m*ss*** *o*s not r****t * p*sswor* provi*** *s p*rt o* * *omm*n* lin* *r*um*nt. T*is p*sswor* **n ** vi*w** *y us*rs wit* It*

Reasoning

T** vuln*r**ility st*ms *rom unr****t** p*sswor* *xposur* in *uil* lo*s *urin* sqlplus *omm*n* *x**ution. T** *x**ut* m*t*o* woul* lo*i**lly ** r*sponsi*l* *or *onstru*tin* t** *omm*n* lin* (in*lu*in* s*nsitiv* p*r*m*t*rs) *n* lo**in* t** invo**tion.