Rapid7

module

Windows RSH Daemon Buffer Overflow

Disclosed
Jul 24, 2007
Created
May 30, 2018

Description

This module exploits a vulnerability in Windows RSH daemon 1.8.
The vulnerability is due to a failure to check for the length of input sent
to the RSH server. A CPORT of 512 -> 1023 must be configured for the exploit
to be successful.

Platform

Windows

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.