CVE-2018-6360
mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VID…
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
2.59% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-20 Improper Input Validation
References
- github.com /mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43 · x_refsource_MISC, x_transferred
- security.gentoo.org /glsa/201805-05 · vendor-advisory, x_refsource_GENTOO, x_transferred
- github.com /mpv-player/mpv/issues/5456 · x_refsource_MISC, x_transferred
- debian.org /security/2018/dsa-4105 · vendor-advisory, x_refsource_DEBIAN, x_transferred
Sources
- CVE List: CVE-2018-6360
- NVD: CVE-2018-6360
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.