module

OpenSMTPD OOB Read Local Privilege Escalation

Disclosed
2020-02-24
Created
2020-03-05

Description

This module exploits an out-of-bounds read of an attacker-controlled
string in OpenSMTPD's MTA implementation to execute a command as the
root or nobody user, depending on the kind of grammar OpenSMTPD uses.

Authors

Qualys
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/opensmtpd_oob_read_lpe
msf exploit(opensmtpd_oob_read_lpe) > show targets
...targets...
msf exploit(opensmtpd_oob_read_lpe) > set TARGET < target-id >
msf exploit(opensmtpd_oob_read_lpe) > show options
...show and set options...
msf exploit(opensmtpd_oob_read_lpe) > 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.