Vulnerability Details : CVE-2018-6360
Potential exploit
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.
Vulnerability category: Input validationExecute code
Products affected by CVE-2018-6360
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:mpv:mpv:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-6360
0.59%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 67 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-6360
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2018-6360
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-6360
-
https://security.gentoo.org/glsa/201805-05
mpv: Remote code execution (GLSA 201805-05) — Gentoo securityThird Party Advisory
-
https://www.debian.org/security/2018/dsa-4105
Debian -- Security Information -- DSA-4105-1 mpvThird Party Advisory
-
https://github.com/mpv-player/mpv/issues/5456
Protocol whitelist in ytdl_hook · Issue #5456 · mpv-player/mpv · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43
ytdl_hook: whitelist protocols from urls retrieved from youtube-dl · mpv-player/mpv@e6e6b0d · GitHubPatch;Third Party Advisory
Jump to