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
90.5%
Pegasus Mail is prone to stack-based Buffer Overflow vulnerability.
# SPDX-FileCopyrightText: 2009 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.800970");
script_version("2023-07-27T05:05:08+0000");
script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2009-11-05 12:25:48 +0100 (Thu, 05 Nov 2009)");
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-2009-3838");
script_name("Pegasus Mail POP3 Response Buffer Overflow Vulnerability");
script_xref(name:"URL", value:"http://secunia.com/advisories/37134");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36797");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/3026");
script_xref(name:"URL", value:"http://securitytracker.com/alerts/2009/Oct/1023075.html");
script_tag(name:"qod_type", value:"executable_version");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("gb_pegasus_mail_detect.nasl");
script_mandatory_keys("Pegasus/Mail/Ver");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to execute arbitrary
code or cause the application to crash by sending overly long error responses
from a remote POP3 server to the affected mail client.");
script_tag(name:"affected", value:"Pegasus Mail 4.51 and prior.");
script_tag(name:"insight", value:"A stack based buffer overflow error occus due to improper bounds
checking when processing POP3 responses.");
script_tag(name:"solution", value:"Upgrade to version 4.51 or higher.");
script_tag(name:"summary", value:"Pegasus Mail is prone to stack-based Buffer Overflow vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://www.pmail.com/downloads_s3_t.htm");
exit(0);
}
include("version_func.inc");
pmailVer = get_kb_item("Pegasus/Mail/Ver");
if(isnull(pmailVer)){
exit(0);
}
if(version_is_less_equal(version:pmailVer, test_version:"4.5.1.0")){
report = report_fixed_ver(installed_version:pmailVer, vulnerable_range:"Less than or equal to 4.5.1.0");
security_message(port: 0, data: report);
}