The host has Alpine installed and is prone to Buffer Overflow
Vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_alpine_tmail_n_dmail_bof_vuln_win.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# Alpine tmail and dmail Buffer Overflow Vulnerabilities (Windows)
#
# Authors:
# Veerendra GG <[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_solution = "Update to higher Version or Apply patches from,
http://www.washington.edu/alpine/tmailbug.html
*****
NOTE : Ignore this warning, if above mentioned patch is applied already.
*****";
tag_impact = "Successful exploitation allows execution of arbitrary code, but requires
that the utilities are configured as a delivery backend for a mail transfer
agent allowing overly long destination mailbox names.
Impact Level: Application";
tag_affected = "University of Washington Alpine 2.00 and priror on Windows.";
tag_insight = "The flaws are due to boundary error in the tmail/dmail utility,
when processing overly long mailbox names composed of a username and +
character followed by a long string and also by specifying a long folder
extension argument on the command line.";
tag_summary = "The host has Alpine installed and is prone to Buffer Overflow
Vulnerabilities.";
if(description)
{
script_id(800150);
script_version("$Revision: 5370 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-12-04 14:15:00 +0100 (Thu, 04 Dec 2008)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2008-5005");
script_bugtraq_id(32072);
script_name("Alpine tmail and dmail Buffer Overflow Vulnerabilities (Windows)");
script_xref(name : "URL" , value : "http://www.washington.edu/alpine/");
script_xref(name : "URL" , value : "http://secunia.com/advisories/32483");
script_xref(name : "URL" , value : "http://www.frsirt.com/english/advisories/2008/3042/products");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Buffer overflow");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/WindowsVersion");
script_require_ports(139, 445);
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("smb_nt.inc");
include("version_func.inc");
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
apVer = registry_get_sz(item:"DisplayName",
key:"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Alpine_is1");
if(!apVer){
exit(0);
}
apVer = apVer - "Alpine ";
if(version_is_less_equal(version:apVer, test_version:"2.00")){
security_message(0);
}