PT-2018-17503 · Mpv+1 · Mpv+1
Atx
·
Publicado
2018-01-28
·
Atualizado
2024-06-15
·
CVE-2018-6360
CVSS v3.1
8.8
Alta
| Vetor | AV: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
Correção
RCE
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Alt Linux
Mpv