CVE-2018-6360
Mpv vulnerability
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
Mpv, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mpv runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43 · Patch
- github.com/mpv-player/mpv/issues/5456 · Exploit
- security.gentoo.org/glsa/201805-05 · Third Party Advisory
- www.debian.org/security/2018/dsa-4105 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-6360
- cve.org/CVERecord?id=CVE-2018-6360
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.