[ASA-201802-7] mpv: arbitrary code execution

Jelle van der Waa jelle at archlinux.org
Tue Feb 13 20:38:50 UTC 2018


Arch Linux Security Advisory ASA-201802-7
=========================================

Severity: High
Date    : 2018-02-13
CVE-ID  : CVE-2018-6360
Package : mpv
Type    : arbitrary code execution
Remote  : Yes
Link    : https://security.archlinux.org/AVG-605

Summary
=======

The package mpv before version 1:0.27.1-1 is vulnerable to arbitrary
code execution.

Resolution
==========

Upgrade to 1:0.27.1-1.

# pacman -Syu "mpv>=1:0.27.1-1"

The problem has been fixed upstream in version 0.27.1.

Workaround
==========

None.

Description
===========

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

Impact
======

A remote attacker can execute arbitrary code on the affected host by
tricking the user into playing a malicious web page.

References
==========

https://github.com/mpv-player/mpv/releases/tag/v0.27.1
https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43
https://github.com/mpv-player/mpv/issues/5456
https://security.archlinux.org/CVE-2018-6360
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20180213/933f9cd6/attachment.asc>


More information about the arch-security mailing list