Exposure of Sensitive Information to an Unauthorized Actor Affecting sqlpage package, versions <0.14.0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUST-SQLPAGE-5905945
- published 26 Apr 2024
- disclosed 18 Sep 2023
- credit Unknown
Introduced: 18 Sep 2023
CVE-2023-42454 Open this link in a new tabHow to fix?
Upgrade sqlpage
to version 0.14.0 or higher.
Overview
Affected versions of this package are vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in the sqlpage/sqlpage.json
configuration file. An attacker can retrieve database connection information from SQLPage and use it to connect to the database directly.
Note: This is only exploitable if the SQLpage instance and the database are both exposed publicly.
In order to exploit this vulnerability, the following conditions have to be met:
the SQLPage version is older than v0.11.1
the SQLPage instance is exposed publicly
the database connection string is specified in the
sqlpage/sqlpage.json
configuration file (not in an environment variable)the
web_root
is the current working directory (the default)the database is exposed publicly