Lucene search

K
openvasCopyright (c) 2012 Greenbone Networks GmbHOPENVAS:802488
HistoryNov 02, 2012 - 12:00 a.m.

VLC Media Player 'libpng_plugin' Denial of Service Vulnerability (Windows)

2012-11-0200:00:00
Copyright (c) 2012 Greenbone Networks GmbH
plugins.openvas.org
9

0.839 High

EPSS

Percentile

98.5%

This host is installed with VLC Media Player and is prone to
denial of service vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vlc_media_player_libpng_plugin_dos_vuln_win.nasl 8174 2017-12-19 12:23:25Z cfischer $
#
# VLC Media Player 'libpng_plugin' Denial of Service Vulnerability (Windows)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

CPE = "cpe:/a:videolan:vlc_media_player";

tag_impact = "Successful exploitation will allow attackers to crash the affected
  application and denying service to legitimate users.
  Impact Level: Application";
tag_affected = "VLC media player version 2.0.3 and prior on Windows";
tag_insight = "The flaw is due to an error in 'libpng_plugin' when handling a crafted PNG
  file. Which can be exploited to cause a crash.";
tag_solution = "Upgrade to VLC media player 2.0.4 or later,
  For updates refer to http://www.videolan.org/vlc/";
tag_summary = "This host is installed with VLC Media Player and is prone to
  denial of service vulnerability.";

if(description)
{
  script_id(802488);
  script_version("$Revision: 8174 $");
  script_cve_id("CVE-2012-5470");
  script_bugtraq_id(55850);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"$Date: 2017-12-19 13:23:25 +0100 (Tue, 19 Dec 2017) $");
  script_tag(name:"creation_date", value:"2012-11-02 14:31:32 +0530 (Fri, 02 Nov 2012)");
  script_name("VLC Media Player 'libpng_plugin' Denial of Service Vulnerability (Windows)");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/21889/");
  script_xref(name : "URL" , value : "http://www.videolan.org/vlc/releases/2.0.4.html");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2012/10/24/3");

  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Denial of Service");
  script_dependencies("secpod_vlc_media_player_detect_win.nasl");
  script_mandatory_keys("VLCPlayer/Win/Installed");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE );
vers = infos['version'];
path = infos['location'];

## Check for VLC Media Player Version is less than 2.0.4
if( version_is_less( version:vers, test_version:"2.0.4" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"2.0.4", install_path:path );
  security_message( port:0, data:report );
  exit( 0 );
}

exit( 99 );