GHSA-m8v7-469p-5x89: Hard-coded System User Credentials in Folio Data Export Spring module
5.3
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
7/25/2023
Updated
7/25/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.folio:mod-remote-storage | maven | >= 2.0.0, < 2.0.3 | 2.0.3 |
| org.folio:mod-remote-storage | maven | < 1.7.2 | 1.7.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from hard-coded credentials in system user initialization flows. Key evidence includes:
- Pre-fix TenantController had a hard-coded SYSTEM_USER constant
- SecurityManagerService's credential handling lacked environment variable checks
- Kafka listener used static credentials for API key refresh
- The patch introduced @Value injections for credentials and environment variable validation in ModRemoteStorageApplication
- Commit diff shows removal of hard-coded references and addition of configuration-based credential loading