Full database access via logged connection credentials
Published Jun 5, 2023 · Updated Jan 8, 2025
Sensitive-data exposure in the Hoppscotch backend before 2023.4.5 allows local users with log access to obtain the database password. The backend bootstrap function in packages/hoppscotch-backend/src/main.ts writes the entire DATABASE_URL environment variable to standard output, including embedded database credentials. Access to server or container logs is required; the disclosed credential grants full access to the configured database.
Summary
What happened
Sensitive-data exposure in the Hoppscotch backend before 2023.4.5 allows local users with log access to obtain the database password. The backend bootstrap function in packages/hoppscotch-backend/src/main.ts writes the entire DATABASE_URL environment variable to standard output, including embedded database credentials. Access to server or container logs is required; the disclosed credential grants full access to the configured database.
The record
- CVE
- CVE-2023-34097
- Published
- Jun 5, 2023
- Updated
- Jan 8, 2025
- Vendor
- Hoppscotch
- Product
- Hoppscotch
- Classifications
- CWE-532, T1552
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 5, 2023CVE publishedPublication date reported by the CVE source.
- Jan 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2023.4.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub advisory log-disclosure proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo