Improper input validation in Mpv
CVE-2018-6360
mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VIDEO elements, and accepts arbitrary URLs in a src attribute without a protocol whitelist in player/lua/ytdl_hook.lua. For example, an av://lavfi:ladspa=file= URL signifies that the product should call dlopen on a shared object file located at an arbitrary local pathname. The issue exists because the product does not consider that youtube-dl can provide a potentially unsafe URL.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.026, 85.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mpv
- Debian Linux — versions 9.0
Weakness classification (CWE)
References
- github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43 (Patch, Third Party Advisory)
- GLSA-201805-05 (vendor-advisory, Third Party Advisory)
- github.com/mpv-player/mpv/issues/5456 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- DSA-4105 (vendor-advisory, Third Party Advisory)