CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
AI Score
Confidence
Low
EPSS
Percentile
95.7%
Streamripper is prone to multiple buffer overflow vulnerabilities.
# SPDX-FileCopyrightText: 2008 Greenbone AG
# 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-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.800147");
script_version("2024-02-15T05:05:39+0000");
script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2008-12-01 15:31:19 +0100 (Mon, 01 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-4829");
script_name("Streamripper Multiple Buffer Overflow Vulnerabilities - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone AG");
script_family("Buffer overflow");
script_mandatory_keys("login/SSH/success");
script_dependencies("gather-package-list.nasl");
script_exclude_keys("ssh/no_linux_shell");
script_xref(name:"URL", value:"http://secunia.com/advisories/32562");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/32356");
script_xref(name:"URL", value:"http://www.frsirt.com/english/advisories/2008/3207");
script_tag(name:"impact", value:"Successful attack could lead to execution of arbitrary code by tricking a
user into connecting to a malicious server or can even cause denial-of-service condition.");
script_tag(name:"affected", value:"Streamripper Version 1.63.5 and earlier on Linux.");
script_tag(name:"insight", value:"The flaws are due to boundary error within,
- http_parse_sc_header() function in lib/http.c, when parsing an overly long
HTTP header starting with Zwitterion v.
- http_get_pls() and http_get_m3u() functions in lib/http.c, when parsing a
specially crafted pls playlist containing an overly long entry or m3u
playlist containing an overly long File entry.");
script_tag(name:"solution", value:"Upgrade to Version 1.64.0 or later.");
script_tag(name:"summary", value:"Streamripper is prone to multiple buffer overflow vulnerabilities.");
script_tag(name:"qod_type", value:"executable_version");
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);
binPaths = ssh_find_bin(prog_name:"streamripper", sock:sock);
if(!binPaths){
ssh_close_connection();
exit(0);
}
foreach srBin(binPaths){
srBin = chomp(srBin);
if(!srBin) continue;
srVer = ssh_get_bin_version(full_prog_name:srBin, version_argv:"-v", ver_pattern:"Streamripper ([0-9.]+)", sock:sock);
if(srVer[1]){
if(version_is_less(version:srVer[1], test_version:"1.64.0")){
report = report_fixed_ver(installed_version:srVer[1], fixed_version:"1.64.0", install_path:srBin);
security_message(port:0, data:report);
ssh_close_connection();
exit(0);
}
}
}
ssh_close_connection();
exit(0);