module

Emacs movemail Privilege Escalation

Disclosed
1986-08-01
Created
2019-03-19

Description

This module exploits a SUID installation of the Emacs movemail utility
to run a command as root by writing to 4.3BSD's /usr/lib/crontab.local.

The vulnerability is documented in Cliff Stoll's book The Cuckoo's Egg.

Authors

Markus Hess
Cliff Stoll
wvu wvu@metasploit.com

Platform

Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/unix/local/emacs_movemail
msf exploit(emacs_movemail) > show targets
...targets...
msf exploit(emacs_movemail) > set TARGET < target-id >
msf exploit(emacs_movemail) > show options
...show and set options...
msf exploit(emacs_movemail) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.