VLC Media Player < 1.1.7 MKV Input Validation Vulnerability - Nessus

High   Plugin ID: 51851

This page contains detailed information about the VLC Media Player < 1.1.7 MKV Input Validation Vulnerability Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 51851
Name: VLC Media Player < 1.1.7 MKV Input Validation Vulnerability
Filename: vlc_1_1_7.nasl
Vulnerability Published: 2011-01-30
This Plugin Published: 2011-02-02
Last Modification Time: 2018-08-06
Plugin Version: 1.10
Plugin Type: local
Plugin Family: Windows
Dependencies: vlc_installed.nasl
Required KB Items [?]: SMB/VLC/Version

Vulnerability Information


Severity: High
Vulnerability Published: 2011-01-30
Patch Published: 2011-02-01
CVE [?]: CVE-2011-0531
CPE [?]: cpe:/a:videolan:vlc_media_player

Synopsis

The remote Windows host contains an media player that is affected by a code execution vulnerability.

Description

The version of VLC media player installed on the remote host is earlier than 1.1.7. Such versions are reportedly affected by the following vulnerability :

- Insufficient input validation when parsing a specially crafted Matroska or WebM (MKV) file can be exploited to execute arbitrary code.

Solution

Upgrade to VLC Media Player version 1.1.7 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the VLC Media Player < 1.1.7 MKV Input Validation Vulnerability vulnerability:

  1. Metasploit: exploit/windows/fileformat/vlc_webm
    [VideoLAN VLC MKV Memory Corruption]
  2. Exploit-DB: exploits/windows/local/16637.rb
    [EDB-16637: VideoLAN VLC Media Player 1.1.6 - 'MKV' Memory Corruption (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 V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the vlc_1_1_7.nasl nessus plugin source code. This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(51851);
  script_version("1.10");
  script_cvs_date("Date: 2018/08/06 14:03:16");

  script_cve_id("CVE-2011-0531");
  script_bugtraq_id(46060);

  script_name(english:"VLC Media Player < 1.1.7 MKV Input Validation Vulnerability");
  script_summary(english:"Checks version of VLC");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote Windows host contains an media player that is affected by
a code execution vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The version of VLC media player installed on the remote host is
earlier than 1.1.7.  Such versions are reportedly affected by the
following vulnerability :

  - Insufficient input validation when parsing a specially
    crafted Matroska or WebM (MKV) file can be exploited to
    execute arbitrary code."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.videolan.org/security/sa1102.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.videolan.org/developers/vlc-branch/NEWS"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Upgrade to VLC Media Player version 1.1.7 or later."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'VideoLAN VLC MKV Memory Corruption');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/01/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/02/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/02");

  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) 2011-2018 Tenable Network Security, Inc.");

  script_dependencies("vlc_installed.nasl");
  script_require_keys("SMB/VLC/Version");

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");


version = get_kb_item_or_exit("SMB/VLC/Version");

# nb: 'version' may look like '0.9.8a'!
if (
  version =~ "^0\." ||
  version =~ "^1\.0\." ||
  version =~ "^1\.1\.[0-6]($|[^0-9])"
)
{
  if (report_verbosity > 0)
  {
    path = get_kb_item("SMB/VLC/File");
    if (isnull(path)) path = "n/a";
    else path = ereg_replace(pattern:"^(.+)\\[^\\]+$", replace:"\1", string:path);

    report = 
      '\n  Path              : ' + path +
      '\n  Installed version : ' + version +
      '\n  Fixed version     : 1.1.7\n';
    security_hole(port:get_kb_item("SMB/transport"), extra:report);
  }
  else security_hole(get_kb_item("SMB/transport"));

  exit(0);
}
else exit(0, "The host is not affected since VLC "+version+" is installed.");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/vlc_1_1_7.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\vlc_1_1_7.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/vlc_1_1_7.nasl

Go back to menu.

How to Run


Here is how to run the VLC Media Player < 1.1.7 MKV Input Validation Vulnerability as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select VLC Media Player < 1.1.7 MKV Input Validation Vulnerability plugin ID 51851.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. 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_1_1_7.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a vlc_1_1_7.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - vlc_1_1_7.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_1_1_7.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 51946 - Debian DSA-2159-1 : vlc - missing input sanitising
  • 78879 - GLSA-201411-01 : VLC: Multiple vulnerabilities
  • 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
  • 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
  • 112216 - VLC Media Player <= 2.2.8 Use-After-Free RCE
  • 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_1_1_7.nasl version 1.10. For more plugins, visit the Nessus Plugin Library.

Go back to menu.