SMTP HELO buffer overflow can crash or obtain access

smtp-helo-bo (886) The risk level is classified as HighHigh Risk

Description:

Different SMTP commands can cause the SMTP server to crash or to execute arbitrary byte-code that could lead to a system compromise. For example, the Seattle Lab SLMail SMTP server software contains overflows in the VRFY and EXPN commands. AppleShare, Stalker, and Mercury SMTP servers contain overflows in the HELO command as well. Other lesser-known SMTP servers may also contain overflows.

Platforms Affected:

  • Apple, AppleShare IP Mail Server
  • Apple, Mac OS
  • Cisco, IOS
  • Compaq, Tru64
  • Data General, DG/UX
  • HP, HP-UX
  • IBM, AIX
  • IBM, OS2
  • IETF, SMTP
  • Ipswitch, IMail Server 5.0
  • Linux, Kernel
  • Microsoft, Windows 2000
  • Microsoft, Windows 2003 Server
  • Microsoft, Windows 95
  • Microsoft, Windows 98
  • Microsoft, Windows 98SE
  • Microsoft, Windows Me
  • Microsoft, Windows NT 4.0
  • Microsoft, Windows XP
  • Novell, NetWare
  • Pmail, Mercury Mail Server
  • SCO, SCO Unix
  • SeattleLab, SLMail 2.6 and prior
  • SGI, IRIX
  • Sun, Solaris
  • WindRiver, BSDOS

Remedy:

Determine if your SMTP server is vulnerable to the attack and take appropriate actions depending on the extent of your vulnerability.

Manually test for this vulnerability by connecting to port 25 on your computer and sending the appropriate command (HELO, VRFY, or EXPN), followed by at least 1024 X's. If the SMTP server returns an OK or an error message, then you are not vulnerable. If your connection closes immediately, then the system is most likely vulnerable.

If your system is vulnerable, then it may have already been compromised. If the attack was a denial of service attack, restart your SMTP server. Watch for further attacks from the source address. If your system is not vulnerable, then you have not been compromised, but the attack may be a sign of an attacker probing your network for vulnerabilities.

Consequences:

Gain Access

References:

Reported:

Mar 11, 1998

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page