{"id":"CVE-2023-42454","published":"2023-09-18T21:36:02Z","modified":"2024-09-26T13:38:53Z","title":"SQLpage vulnerable to public exposure of database credentials","vendor":"lovasoa","product":"SQLpage","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00873,"percentile":0.5655,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lovasoa/SQLpage/issues/89","tags":["x_refsource_MISC"]},{"url":"https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1","tags":["x_refsource_MISC"]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":11.31},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"lovasoa","affectedVersions":[{"vendor":"lovasoa","product":"SQLpage","versions":["< 0.11.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-26T13:34:43.255712Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"sqlpage","vulnerableRanges":["<0.11.1"],"patched":["0.11.1"],"from":["GHSA-v5wf-jg37-r9m5"],"provenance":"source"}],"summary":{"text":"SQLpage, a SQL-only webapp builder from lovasoa, can leak its database connection string when the connection is specified in the sqlpage/sqlpage.json configuration file rather than an environment variable and the web root is the current working directory, which is the default. An attacker with network access to a publicly exposed SQLpage instance, requiring no authentication or user interaction, can retrieve the connection information and use it to connect directly to a publicly exposed database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:49Z"},"euvd":{"id":"EUVD-2023-2596","exploited":false,"provenance":"source"}}