CVE-2023-42454 json
SQLpage vulnerable to public exposure of database credentials
published 2023-09-18 3 y ago modified 2026-09-10 1 mo ago also GHSA-v5wf-jg37-r9m5 , EUVD-2023-2596
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
SQLpage is a SQL-only webapp builder. Someone using SQLpage versions prior to 0.11.1, whose SQLpage instance is exposed publicly, with a database connection string specified in the `sqlpage/sqlpage.json` configuration file (not in an environment variable), with the web_root is the current working directory (the default), and with their database exposed publicly, is vulnerable to an attacker retrieving database connection information from SQLPage and using it to connect to their database directly. Version 0.11.0 fixes this issue. Some workarounds are available. Using an environment variable instead of the configuration file to specify the database connection string prevents exposing it on vulnerable versions. Using a different web root (that is not a parent of the SQLPage configuration directory) fixes the issue. One should also avoid exposing one's database publicly.
Patch / fix
- crates.io sqlpage 0.11.1
- lovasoa SQLpage 0.11.1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | sqlpage | <0.11.1 |
0.11.1 |
Affected products
- lovasoa SQLpage
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5
web, exploit, patch, third-party-advisory
-
github.com
/lovasoa/SQLpage/issues/89
web, issue-tracking, patch
-
github.com
/lovasoa/SQLpage/releases/tag/v0.11.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-42454
advisory
-
github.com
/lovasoa/SQLpage
package
Sources
- CVE List CVE-2023-42454
- GitHub Advisory GHSA-v5wf-jg37-r9m5
- NVD CVE-2023-42454
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.