Morris Worm sendmail Debug Mode Shell Escape

This Metasploit module exploits sendmail’s well-known historical debug mode to escape to a shell and execute commands in the SMTP RCPT TO command. This vulnerability was exploited by the Morris worm in 1988-11-02. Cliff Stoll reports on the worm in the epilogue of The Cuckoo’s Egg. Currently only cmd/unix/reverse and cmd/unix/generic are supported.

Link: https://packetstormsecurity.com/files/150181/morris_sendmail_debug.rb.txt