7.6 High
AI Score
Confidence
High
9.3 High
CVSS2
Access Vector
Access Complexity
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
0.106 Low
EPSS
Percentile
95.1%
xine-lib is prone to multiple vulnerabilities.
# Copyright (C) 2008 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900041");
script_version("2022-02-28T11:59:13+0000");
script_cve_id("CVE-2008-5236");
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_tag(name:"last_modification", value:"2022-02-28 11:59:13 +0000 (Mon, 28 Feb 2022)");
script_tag(name:"creation_date", value:"2008-08-27 11:53:45 +0200 (Wed, 27 Aug 2008)");
script_category(ACT_GATHER_INFO);
script_family("Buffer overflow");
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_name("xine-lib < 1.1.16.1 Multiple Vulnerabilities");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("login/SSH/success");
script_exclude_keys("ssh/no_linux_shell");
script_xref(name:"URL", value:"http://secunia.com/advisories/31567/");
script_xref(name:"URL", value:"http://www.ocert.org/analysis/2008-008/analysis.txt");
script_tag(name:"summary", value:"xine-lib is prone to multiple vulnerabilities.");
script_tag(name:"insight", value:"The flaws are due to overflow errors that exist in open_ra_file()
in demux_realaudio.c, parse_block_group() in demux_matroska.c, and
real_parse_audio_specific_data() in demux_real.c methods.");
script_tag(name:"affected", value:"xine-lib versions 1.1.15 and prior.");
script_tag(name:"solution", value:"Update to version 1.1.16.1 or later.");
script_tag(name:"impact", value:"Remote exploitation could allow execution of arbitrary code
to cause head-based buffer overflow via a specially crafted RealAudio or Matroska file.");
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);
xineVer = ssh_cmd(socket:sock, cmd:"xine-config --version");
ssh_close_connection();
if(!xineVer) exit(0);
if(egrep(pattern:"^(0\..*|1\.(0\..*|1(\.0?[0-9]|\.1[0-5])?))([^.0-9]|$)", string:xineVer)){
report = report_fixed_ver(installed_version:xineVer, fixed_version:"1.1.16.1");
security_message(port:0, data:report);
exit(0);
}
exit(99);