PT-2023-31832 · Navidrome · Navidrome
Crazygolem
·
Published
2023-12-19
·
Updated
2024-08-21
·
CVE-2023-51442
CVSS v3.1
8.6
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
Navidrome versions prior to 0.50.2
Description
A security issue has been identified in Navidrome's subsonic endpoint, allowing for authentication bypass. This exploit enables unauthorized access to any known account by utilizing a JSON Web Token (JWT) signed with the key "not so secret". The vulnerability can only be exploited on instances that have never been restarted. Navidrome supports an extension to the subsonic authentication scheme, where a JWT can be provided using a
jwt query parameter instead of the traditional password or token and salt. This authentication bypass issue potentially affects all instances that don't protect the subsonic endpoint "/rest/", which is expected to be most instances in a standard deployment, and most instances in the reverse proxy setup too.Recommendations
For versions prior to 0.50.2, update to version 0.50.2 or later to resolve the issue. As a temporary workaround, consider restarting the Navidrome instance to prevent exploitation until a patch is applied. Restrict access to the vulnerable subsonic endpoint "/rest/" to minimize the risk of exploitation. Avoid using the
jwt query parameter in the affected API endpoint until the issue is resolved.Exploit
Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Navidrome