VLC Media Player <= 2.2.8 Use-After-Free RCE - Nessus
High Plugin ID: 112216This page contains detailed information about the VLC Media Player <= 2.2.8 Use-After-Free RCE Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 112216
Name: VLC Media Player <= 2.2.8 Use-After-Free RCE
Filename: vlc_2_2_8.nasl
Vulnerability Published: 2018-07-09
This Plugin Published: 2018-08-31
Last Modification Time: 2019-04-05
Plugin Version: 1.6
Plugin Type: local
Plugin Family: Windows
Dependencies:
vlc_installed.nasl
Required KB Items [?]: installed_sw/VLC media player
Vulnerability Information
Severity: High
Vulnerability Published: 2018-07-09
Patch Published: 2018-05-29
CVE [?]: CVE-2018-11529
CPE [?]: cpe:/a:videolan:vlc_media_player
Synopsis
A media player installed on the remote host is affected by a remote code execution vulnerability.
Description
The version of VLC media player installed on the remote host is equal or prior to 2.2.8. It is, therefore, affected by a use-after-free vulnerability. An attacker could leverage this vulnerability to cause a denial of service or potentially execute arbitrary code.
Solution
Upgrade to VLC version 3.0.3 or later.
Public Exploits
Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the VLC Media Player <= 2.2.8 Use-After-Free RCE vulnerability:
- Metasploit: exploit/windows/fileformat/vlc_mkv
[VLC Media Player MKV Use After Free] - Exploit-DB: exploits/windows/local/44979.py
[EDB-44979: VLC media player 2.2.8 - Arbitrary Code Execution (PoC)] - Exploit-DB: exploits/windows/local/45626.rb
[EDB-45626: VLC Media Player - MKV Use-After-Free (Metasploit)]
Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.
WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.
Risk Information
CVSS Score Source [?]: CVE-2018-11529
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score: | 6.8 (Medium) |
Impact Subscore: | 6.4 |
Exploitability Subscore: | 8.6 |
CVSS Temporal Score: | 5.6 (Medium) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 5.6 (Medium) |
CVSS Base Score: | 8.0 (High) |
Impact Subscore: | 5.9 |
Exploitability Subscore: | 2.1 |
CVSS Temporal Score: | 7.4 (High) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 7.4 (High) |
Go back to menu.
Plugin Source
This is the vlc_2_2_8.nasl nessus plugin source code. This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(112216);
script_version("1.6");
script_cvs_date("Date: 2019/04/05 23:25:09");
script_cve_id("CVE-2018-11529");
script_name(english:"VLC Media Player <= 2.2.8 Use-After-Free RCE");
script_summary(english:"Checks the VLC media player version.");
script_set_attribute(attribute:"synopsis", value:
"A media player installed on the remote host is affected by a remote
code execution vulnerability.");
script_set_attribute(attribute:"description", value:
"The version of VLC media player installed on the remote host is equal
or prior to 2.2.8. It is, therefore, affected by a use-after-free
vulnerability. An attacker could leverage this vulnerability to cause
a denial of service or potentially execute arbitrary code.");
script_set_attribute(attribute:"see_also", value:"http://seclists.org/fulldisclosure/2018/Jul/28");
script_set_attribute(attribute:"solution", value:
"Upgrade to VLC version 3.0.3 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-11529");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'VLC Media Player MKV Use After Free');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2018/07/09");
script_set_attribute(attribute:"patch_publication_date", value:"2018/05/29");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/08/31");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:videolan:vlc_media_player");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("vlc_installed.nasl");
script_require_keys("installed_sw/VLC media player");
exit(0);
}
include("vcf.inc");
app_name = "VLC media player";
app_info = vcf::get_app_info(app:app_name, win_local:TRUE);
constraints = [{"min_version":"2.2.0", "max_version":"2.2.8", "fixed_version":"3.0.3"}];
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/vlc_2_2_8.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\vlc_2_2_8.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/vlc_2_2_8.nasl
Go back to menu.
How to Run
Here is how to run the VLC Media Player <= 2.2.8 Use-After-Free RCE as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Windows plugin family.
- On the right side table select VLC Media Player <= 2.2.8 Use-After-Free RCE plugin ID 112216.
- Specify the target on the Settings tab and click to Save the scan.
- Run the scan.
Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.
Basic usage:
/opt/nessus/bin/nasl vlc_2_2_8.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a vlc_2_2_8.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - vlc_2_2_8.nasl -t <IP/HOST>
Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):
/opt/nessus/bin/nasl -K /tmp/state vlc_2_2_8.nasl -t <IP/HOST>
Go back to menu.
References
See also:
- https://www.tenable.com/plugins/nessus/112216
- http://seclists.org/fulldisclosure/2018/Jul/28
- https://vulners.com/nessus/VLC_2_2_8.NASL
- 111174 - Debian DSA-4251-1 : vlc - security update
- 111224 - FreeBSD : vlc -- Use after free vulnerability (dc57ad48-ecbb-439b-a4d0-5869be47684e)
- 31853 - VLC Media Player < 0.8.6f Multiple Vulnerabilities
- 34730 - VLC Media Player 0.5.0 to 0.9.5 Stack-Based Buffer Overflows
- 55024 - VLC < 1.1.10 Multiple Vulnerabilities
- 48906 - VLC Media Player < 1.1.4 Path Subversion Arbitrary DLL Injection Code Execution
- 51772 - VLC Media Player < 1.1.6 Multiple Vulnerabilities
- 51851 - VLC Media Player < 1.1.7 MKV Input Validation Vulnerability
- 52976 - VLC Media Player < 1.1.8 Multiple Buffer Overflows
- 58416 - VLC Media Player < 2.0.1 Multiple Vulnerabilities
- 78626 - VLC Media Player < 2.1.5 Multiple Vulnerabilities
- 100592 - VLC Media Player < 2.2.5 Multiple Vulnerabilities
- 126246 - VLC < 3.0.7 Multiple Vulnerabilities
- 31642 - VLC Media Player network/httpd.c httpd_FileCallBack Function Connection Parameter Format String
- 137753 - VLC < 2.1.6 Multiple Vulnerabilities
- 146102 - VLC < 3.0.12 Buffer Overflow
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file vlc_2_2_8.nasl version 1.6. For more plugins, visit the Nessus Plugin Library.
Go back to menu.