Description (CNA)
Mopidy before 4.0.5 contains a path traversal vulnerability that allows unauthenticated clients to access local files outside file/media_dirs because FileLibraryProvider.lookup() lacks a containment check. Attackers can call core.library.lookup or core.tracklist.add over JSON-RPC or WebSocket with file:// URIs to probe file existence, read tag metadata, and play out-of-sandbox files.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Mopidy / Mopidy | affected 0 before 4.0.5 |
CWE
CWE-22
References
- https://github.com/mopidy/mopidy/issues/2350
- https://github.com/mopidy/mopidy/commit/f23c1f8621c3f4eb07a35d37fccb597449d36415
- https://github.com/mopidy/mopidy/blob/v4.0.4/src/mopidy/_exts/file/library.py
- https://github.com/mopidy/mopidy/releases/tag/v4.0.5
- https://www.vulncheck.com/advisories/mopidy-before-4.0.5-path-traversal-via-file-backend-library-lookup
ADP enrichment
No English description supplied.