Skip to content

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 wi...

HighCVSS 8.8 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/mpv(Debian:12) < 0.27.0-3 0.27.0-3
debian/mpv(Debian:13) < 0.27.0-3 0.27.0-3
debian/mpv(Debian:14) < 0.27.0-3 0.27.0-3
mpv <= 0.28.0 No fix listed
debian linux = 9.0 No fix listed
alpine/mpv(Alpine:v3.10) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.11) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.12) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.13) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.14) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.15) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.16) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.17) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.18) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.19) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.20) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.21) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.22) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.23) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.24) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.7) < 0.27.0-r2 0.27.0-r2
alpine/mpv(Alpine:v3.8) < 0.27.0-r3 0.27.0-r3
alpine/mpv(Alpine:v3.9) < 0.27.0-r3 0.27.0-r3

References