SQL Injection Affecting github.com/navidrome/navidrome/model package, versions <0.53.0
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.05% (20th
percentile)
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-GOLANG-GITHUBCOMNAVIDROMENAVIDROMEMODEL-8068538
- published 22 Sep 2024
- disclosed 20 Sep 2024
- credit Louis Nyffenegger
Introduced: 20 Sep 2024
CVE-2024-47062 Open this link in a new tabHow to fix?
Upgrade github.com/navidrome/navidrome/model
to version 0.53.0 or higher.
Overview
github.com/navidrome/navidrome/model is a package that implements a Criteria API based on Masterminds/squirrel.
Affected versions of this package are vulnerable to SQL Injection due to multiple uses of LIKE
for matching inputs without escaping. A low-privileged user can brute force other users' passwords, perform operations on the underlying database, and bypass username input for authentication by passing in %
in place of a username.
PoC
GET /api/album?_end=36&_order=DESC&_sort=recently_added&_start=0&SELECT+*+FROM+USER--=123 HTTP/1.1