{"id":"CVE-2023-42454","aliases":["GHSA-v5wf-jg37-r9m5"],"url":"https://o3.security/vulnerability/CVE-2023-42454","summary":"SQLpage vulnerable to public exposure of database credentials","details":"### Impact\n\nIf\n - you are using a SQLPage version older than v0.11.1 \n - your SQLPage instance is exposed publicly\n - the database connection string is specified in the `sqlpage/sqlpage.json` configuration file (not in an environment variable)\n - the web_root is the current working directory (the default)\n - your database is exposed publicly\n\nthen an attacker could retrieve the database connection information from SQLPage and use it to connect to your database directly.\n\n### Patches\n\nUpgrade to [v0.11.1](https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1) as soon as possible.\n\n### Workarounds\n\nIf you cannot upgrade immediately:\n\n - Using an environment variable instead of the configuration file to specify the database connection string prevents exposing it on vulnerable versions.\n - Using a different [web root](https://github.com/lovasoa/SQLpage/blob/main/configuration.md) (that is not a parent of the SQLPage configuration directory) fixes the issue.\n - And in any case, you should generally avoid exposing your database publicly \n\n### References\n\nhttps://github.com/lovasoa/SQLpage/issues/89\n","published":"2023-09-18T21:36:02.842Z","modified":"2026-08-12T03:51:46.213989946Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"sqlpage","fixedVersion":"0.11.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42454.json"},{"type":"ADVISORY","url":"https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42454"},{"type":"REPORT","url":"https://github.com/lovasoa/SQLpage/issues/89"},{"type":"PACKAGE","url":"https://github.com/lovasoa/SQLpage"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:46.213989946Z"}}