Miggo Logo

GHSA-qqhq-8r2c-c3f5: nvdApiKey is logged in debug mode

3.3

CVSS Score
3.1

Basic Information

CVE ID
-
EPSS Score
-
Published
12/15/2023
Updated
1/22/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.owasp:dependency-check-antmaven>= 9.0.0, <= 9.0.59.0.6
org.owasp:dependency-check-climaven>= 9.0.0, <= 9.0.59.0.6
org.owasp:dependency-check-mavenmaven>= 9.0.0, < 9.0.69.0.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from debug-mode logging of the nvdApiKey without redaction. The affected packages (Maven, Ant, CLI) share a common configuration handling mechanism in the OWASP Dependency-Check core. The DependencyCheckMojo#execute method in the Maven plugin is a known entry point where configuration parameters are processed and logged. The Settings#mergeProperties method (or similar configuration-handling code in the core module) is responsible for loading and logging configuration values across all packages. Since the PoC explicitly references Maven debug logging (mvn -X), these functions are high-confidence candidates for the unredacted logging of the nvdApiKey.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Summ*ry T** v*lu* o* `nv**piK*y` *on*i*ur*tion p*r*m*t*r is lo**** in *l**r t*xt in ***u* mo**. ### **t*ils T** NV* *PI k*y is * kin* o* s**r*t *n* s*oul* ** tr**t** lik* ot**r s**r*ts w**n lo**in* in ***u* mo**. *xp**tin* t** s*m* ****vior *s *

Reasoning

T** vuln*r**ility st*ms *rom ***u*-mo** lo**in* o* t** `nv**piK*y` wit*out r****tion. T** *****t** p**k***s (M*v*n, *nt, *LI) s**r* * *ommon *on*i*ur*tion **n*lin* m****nism in t** OW*SP **p*n**n*y-****k *or*. T** `**p*n**n*y****kMojo#*x**ut*` m*t*o*