Sendmail WIZ Command Enabled
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2004 Michel ArboiType
openvas🔗 plugins.openvas.org👁 47 Views
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| Exim 4.87 < 4.91 - (Local / Remote) Command Execution Exploit | 7 Jun 201900:00 | – | zdt | |
| Sendmail DEBUG Arbitrary Command Execution | 18 Aug 200400:00 | – | nessus | |
| Sendmail DEBUG/WIZ Remote Command Execution | 22 Aug 199900:00 | – | nessus | |
| CVE-1999-0145 affecting package sendmail 8.15.2-46 | 12 Jan 202509:15 | – | cbl_mariner | |
| CVE-1999-0145 | 13 Oct 200004:00 | – | cve | |
| CVE-1999-0145 | 13 Oct 200004:00 | – | cvelist | |
| EUVD-1999-0145 | 7 Oct 202500:30 | – | euvd | |
| Exim 4.87 4.91 - (Local Remote) Command Execution | 5 Jun 201900:00 | – | exploitpack | |
| Sendmail WIZ command enabled, allowing root access. | 1 Oct 202523:10 | – | mscve | |
| CVE-1999-0145 | 30 Sep 199304:00 | – | nvd |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/2897 |
# SPDX-FileCopyrightText: 2004 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.16024");
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:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/2897");
script_cve_id("CVE-1999-0145");
script_xref(name:"OSVDB", value:"1877");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_name("Sendmail WIZ Command Enabled");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2004 Michel Arboi");
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 WIZ command.");
script_tag(name:"vuldetect", value:"Sends a crafted SMTP request and checks the response.");
script_tag(name:"insight", value:"WIZ 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);
}
# nb: We could also test the "KILL" function, which is related to WIZ if I understood correctly
req = string("WIZ\r\n");
send(socket:soc, data:req);
res = smtp_recv_line(socket:soc, code:"2[0-9]{2}");
smtp_close(socket:soc, check_data:res);
if(ereg(string:res, pattern:"^2[0-9]{2}[- ].+")) {
report = 'The remote SMTP service accepts the WIZ 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.6High risk
Vulners AI Score9.6
CVSS 27.2
EPSS0.00992