Lucene search

K
openvasCopyright (C) 2008 Greenbone Networks GmbHOPENVAS:800077
HistoryDec 09, 2008 - 12:00 a.m.

VLC Media Player Buffer Overflow Vulnerability (Linux)

2008-12-0900:00:00
Copyright (C) 2008 Greenbone Networks GmbH
plugins.openvas.org
9

EPSS

0.301

Percentile

97.0%

This host is installed with VLC Media Player and is prone to
Buffer Overflow Vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vlc_media_player_intgr_bof_vuln_lin.nasl 5158 2017-02-01 14:53:04Z mime $
#
# VLC Media Player Buffer Overflow Vulnerability (Linux)
#
# Authors:
# Chandan S <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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.
###############################################################################

tag_impact = "Successful exploitation allows attackers to execute arbitrary
  code by tricking a user into opening a specially crafted .rm file to
  crash an affected application.
  Impact Level: Application";
tag_affected = "VLC media player 0.9.0 through 0.9.7 on Linux (Any).";
tag_insight = "The flaw is due to a boundary error while parsing ReadRealIndex
  function in real.c in the Real demuxer plugin.";
tag_solution = "Upgrade to VLC media player 0.9.8
  http://www.videolan.org/vlc/";
tag_summary = "This host is installed with VLC Media Player and is prone to
  Buffer Overflow Vulnerability.";

if(description)
{
  script_id(800077);
  script_version("$Revision: 5158 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-01 15:53:04 +0100 (Wed, 01 Feb 2017) $");
  script_tag(name:"creation_date", value:"2008-12-09 13:27:23 +0100 (Tue, 09 Dec 2008)");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2008-5276");
  script_bugtraq_id(32545);
  script_name("VLC Media Player Buffer Overflow Vulnerability (Linux)");
  script_xref(name : "URL" , value : "http://www.videolan.org/security/sa0811.html");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2008/3287");
  script_xref(name : "URL" , value : "http://www.trapkit.de/advisories/TKADV2008-013.txt");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_mandatory_keys("login/SSH/success");
  script_dependencies("gather-package-list.nasl");
  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:"executable_version_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


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

sock = ssh_login_or_reuse_connection();
if(!sock){
  exit(0);
}

vlcBinPath = find_bin(prog_name:"vlc", sock:sock);
foreach binPath (vlcBinPath)
{
  if( chomp(binPath) == "" ) continue;
  vlcVer = get_bin_version(full_prog_name:chomp(binPath), version_argv:"--version",
                           ver_pattern:"ersion ([0-9.]+[a-z]?)", sock:sock);
  if(vlcVer[1] != NULL)
  {
    # VLC Media Player Version 0.9.0 to 0.9.7
    if(version_in_range(version:vlcVer[1], test_version:"0.9.0",
                        test_version2:"0.9.7")){
      security_message(0);
    }
    ssh_close_connection();
    exit(0);
  }
}
ssh_close_connection();