module

Oracle Solaris SunSSH PAM parse_user_name() Buffer Overflow

Disclosed
2020-10-20
Created
2020-12-17

Description

This module exploits a stack-based buffer overflow in the Solaris PAM
library's username parsing code, as used by the SunSSH daemon when the
keyboard-interactive authentication method is specified.

Tested against SunSSH 1.1.5 on Solaris 10u11 1/13 (x86) in VirtualBox,
VMware Fusion, and VMware Player. Bare metal untested. Your addresses
may vary.

Authors

Jacob Thompson
Aaron Carreras
Jeffrey Martin
Hacker Fantastic
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/solaris/ssh/pam_username_bof
msf exploit(pam_username_bof) > show targets
...targets...
msf exploit(pam_username_bof) > set TARGET < target-id >
msf exploit(pam_username_bof) > show options
...show and set options...
msf exploit(pam_username_bof) > 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.