CVE-2024-47062
Navidrome vulnerability
Navidrome is an open source web-based music collection server and streamer. Navidrome automatically adds parameters in the URL to SQL queries. This can be exploited to access information by adding parameters like `password=...` in the URL (ORM Leak). Furthermore, the names of the parameters are not properly escaped, leading to SQL Injections. Finally, the username is used in a `LIKE` statement, allowing people to log in with `%` instead of their username. When adding parameters to the URL, they are automatically included in an SQL `LIKE` statement (depending on the parameter's name). This allows attackers to potentially retrieve arbitrary information. For example, attackers can use the following request to test whether some encrypted passwords start with `AAA`. This results in an SQL query like `password LIKE 'AAA%'`, allowing attackers to slowly brute-force passwords. When adding parameters to the URL, they are automatically added to an SQL query. The names of the parameters are not properly escaped. This behavior can be used to inject arbitrary SQL code (SQL Injection). These vulnerabilities can be used to leak information and dump the contents of the database and have been addressed in release version 0.53.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
Navidrome. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Navidrome runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/navidrome/navidrome/security/advisories/GHSA-58vj-cv5w-v4v6 · Exploit
- github.com/navidrome/navidrome/commit/3107170afd9f557a10f7031f23cb3c9e975a71f9
- nvd.nist.gov/vuln/detail/CVE-2024-47062
- github.com/advisories/GHSA-58vj-cv5w-v4v6
- nvd.nist.gov/vuln/detail/CVE-2024-47062
- cve.org/CVERecord?id=CVE-2024-47062
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.