Lucene search
+L

Sendmail DEBUG Command Enabled

🗓️ 26 Mar 2006 00:00:00Reported by Copyright (C) 1999 Renaud DeraisonType 
openvas
 openvas
🔗 plugins.openvas.org👁 50 Views

The remote Sendmail service accepts the DEBUG command. This mode is dangerous as it allows remote users to execute arbitrary commands as root without the need to log in

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Exim 4.87 < 4.91 - (Local / Remote) Command Execution Exploit
7 Jun 201900:00
zdt
nessus
Tenable Nessus
Sendmail DEBUG Arbitrary Command Execution
18 Aug 200400:00
nessus
nessus
Tenable Nessus
Sendmail DEBUG/WIZ Remote Command Execution
22 Aug 199900:00
nessus
circl
Circl
CVE-1999-0095
26 Jul 202520:42
circl
cve
CVE
CVE-1999-0095
29 Sep 199904:00
cve
cvelist
Cvelist
CVE-1999-0095
29 Sep 199904:00
cvelist
exploitdb
Exploit DB
Berkeley Sendmail 5.58 - Debug
1 Aug 198800:00
exploitdb
exploitpack
exploitpack
Exim 4.87 4.91 - (Local Remote) Command Execution
5 Jun 201900:00
exploitpack
nvd
NVD
CVE-1999-0095
1 Oct 198804:00
nvd
ptsecurity
Positive Technologies
PT-1988-1001 · Sendmail · Sendmail
1 Oct 198800:00
ptsecurity
Rows per page
SourceLink
securityfocuswww.securityfocus.com/bid/1
# SPDX-FileCopyrightText: 1999 Renaud Deraison
# 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.10247");
  script_version("2024-01-10T05:05:17+0000");
  script_tag(name:"last_modification", value:"2024-01-10 05:05:17 +0000 (Wed, 10 Jan 2024)");
  script_tag(name:"creation_date", value:"2006-03-26 17:55:15 +0200 (Sun, 26 Mar 2006)");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/1");
  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-1999-0095");
  script_name("Sendmail DEBUG Command Enabled");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 1999 Renaud Deraison");
  script_family("SMTP problems");
  script_dependencies("gb_sendmail_smtp_detect.nasl");
  script_mandatory_keys("sendmail/smtp/detected");
  script_require_ports("Services/smtp", 25, 465, 587);

  script_tag(name:"summary", value:"The remote Sendmail service accepts the DEBUG command.");

  script_tag(name:"vuldetect", value:"Sends a crafted SMTP request and checks the response.");

  script_tag(name:"insight", value:"This mode is dangerous as it allows remote users to execute
  arbitrary commands as root without the need to log in.");

  script_tag(name:"solution", value:"Reconfigure or upgrade your MTA.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

include("smtp_func.inc");
include("host_details.inc");

if(!port = get_app_port(cpe:CPE, service:"smtp"))
  exit(0);

if(!get_app_location(cpe:CPE, port:port, nofork:TRUE))
  exit(0);

soc = open_sock_tcp(port);
if(!soc)
  exit(0);

res = smtp_recv_banner(socket:soc);
if(!res || "endmail" >!< res) {
  smtp_close(socket:soc, check_data:res);
  exit(0);
}

req = string("DEBUG\r\n");
send(socket:soc, data:req);
res = smtp_recv_line(socket:soc, code:"200");
smtp_close(socket:soc, check_data:res);

if("200 debug set" >< tolower(res)) {
  report = 'The remote SMTP service accepts the DEBUG command. Answer:\n\n' + res;
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Jan 2024 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 210
EPSS0.16446
50