Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/navidrome/navidrome: GHSA-58vj-cv5w-v4v6 #3153

Open
GoVulnBot opened this issue Sep 20, 2024 · 0 comments

Comments

@GoVulnBot
Copy link

Advisory GHSA-58vj-cv5w-v4v6 references a vulnerability in the following Go modules:

Module
github.com/navidrome/navidrome

Description:

Security Advisory: Multiple Vulnerabilities in Navidrome

Summary

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.

Details

ORM Leak

When adding parameters to the URL, they are automatically included in an SQL LIKE statement (depending on the par...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/navidrome/navidrome
      versions:
        - fixed: 0.53.0
      vulnerable_at: 0.52.5
summary: Navidrome has Multiple SQL Injections and ORM Leak in github.com/navidrome/navidrome
ghsas:
    - GHSA-58vj-cv5w-v4v6
references:
    - advisory: https://github.com/advisories/GHSA-58vj-cv5w-v4v6
    - advisory: https://github.com/navidrome/navidrome/security/advisories/GHSA-58vj-cv5w-v4v6
    - fix: https://github.com/navidrome/navidrome/commit/3107170afd9f557a10f7031f23cb3c9e975a71f9
source:
    id: GHSA-58vj-cv5w-v4v6
    created: 2024-09-20T15:01:31.879529795Z
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant