CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:L/AC:L/Au:N/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
15.7%
According to the version number of the remote mail server,
a local user may be able to obtain the complete mail configuration and other interesting
information about the mail queue.
# SPDX-FileCopyrightText: 2002 Michel Arboi
# 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
CPE = "cpe:/a:sendmail:sendmail";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.11088");
script_version("2024-09-13T05:05:46+0000");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/3898");
script_cve_id("CVE-2001-0715");
script_tag(name:"last_modification", value:"2024-09-13 05:05:46 +0000 (Fri, 13 Sep 2024)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"2.1");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:N/A:N");
script_name("Sendmail DEBUG Mode Leak Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2002 Michel Arboi");
script_family("SMTP problems");
script_dependencies("gb_sendmail_smtp_detect.nasl");
script_mandatory_keys("sendmail/detected");
script_tag(name:"summary", value:"According to the version number of the remote mail server,
a local user may be able to obtain the complete mail configuration and other interesting
information about the mail queue.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Even if the attacker is not allowed to access those information
directly it is possible to circumvent this restriction by running:
sendmail -q -d0-nnnn.xxx
where nnnn & xxx are debugging levels.
If users are not allowed to process the queue (which is the default) then you are not vulnerable.
Note: This vulnerability is _local_ only.");
script_tag(name:"solution", value:"Update to the latest version of Sendmail or do not allow users
to process the queue (RestrictQRun option).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(!port = get_app_port(cpe:CPE))
exit(0);
if(!vers = get_app_version(cpe:CPE, port:port))
exit(0);
if(vers =~ "^8\.(([0-9]\..*)|(1[01]\..*)|(12\.0))$") {
report = report_fixed_ver(installed_version:vers, fixed_version:"See solution tag");
security_message(port:port, data:report);
exit(0);
}
exit(99);