PT-2018-17503 · Mpv+1 · Mpv+1

Atx

·

Published

2018-01-28

·

Updated

2024-06-15

·

CVE-2018-6360

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions mpv versions prior to 0.28.0
Description The issue allows remote attackers to execute arbitrary code via a crafted web site. This is because mpv 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 URL like av://lavfi:ladspa=file= can signify that the product should call dlopen on a shared object file located at an arbitrary local pathname. The problem exists because the product does not consider that youtube-dl can provide a potentially unsafe URL.
Recommendations For versions prior to 0.28.0, consider disabling the ytdl hook.lua functionality until a patch is available to prevent the execution of arbitrary code. Restrict access to arbitrary URLs in the src attribute to minimize the risk of exploitation. Avoid using URLs that could potentially lead to the execution of arbitrary code, such as those starting with av://lavfi:ladspa=file=, until the issue is resolved.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-1177
ALT-PU-2018-1931
CVE-2018-6360
DSA-4105-1
DSA-4105-2
MGASA-2018-0130
OPENSUSE-SU-2024:11062-1

Affected Products

Alt Linux
Mpv