SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#22404

telnet and rlogin URLs disclose sensitive information, including Environment variables

Overview

Some telnet clients may disclose sensitive information in environment variables

I. Description

Web browsers can be configured to respond to certian protocol types through the use of a helper application. In this case, web browsers can respond to telnet: URLs with the use of a helper application. RFC 1572 (http://andrew2.andrew.cmu.edu/rfc/rfc1572.html) permits telnet servers to request environment variables of telnet clients prior to authentication. Quoting from that document:

Once the two hosts have exchanged a WILL and a DO, the sender of the DO NEW-ENVIRON is free to request that environment variables be sent. Only the sender of the DO may send requests (IAC SB NEW-ENVIRON SEND IAC SE) and only the sender of the WILL may transmit actual environment information (via the IAC SB NEW-ENVIRON IS ... IAC SE command). Though this option may be used at any time throughout the life of the telnet connection, the exchange of environment information will usually happen at the startup of the connection. This is because many operating systems only have mechanisms for propagating environment information at process creation, so the information is needed before the user logs in.

Thus, if a telnet server requests environment variables from a telnet client that implements RFC 1572, that client will send the environment variables prior to authentication. The CERT/CC is aware of a proof-of-concept implementation of such a server.

Further, web browsers will often use help applications to deal with non-web protocols such as telnet. If a web browser is configured to use a RFC-1572-compliant telnet client as a telnet helper, then a telnet: URL can be used to obtain sensitive information from that web browser, including such environment variables as USER, HOME, PGPPASS, SSH_CLIENT and other information commonly stored in the environment. At least one Windows telnet client, UWIN, implements RFC 1572, as well as some unix telnet clients. At the present time, we have not developed an exhaustive list of clients that implement RFC 1572.

II. Impact

A client machine can be "tricked" into revealing sensitive information stored in environment variables.

III. Solution

Systems Affected

VendorStatusDate Updated
AppleUnknown26-Sep-2000
BSDIUnknown26-Sep-2000
CalderaVulnerable26-Sep-2000
Compaq Computer CorporationUnknown26-Sep-2000
Data GeneralUnknown26-Sep-2000
FreeBSDUnknown26-Sep-2000
FujitsuUnknown26-Sep-2000
Hewlett PackardUnknown26-Sep-2000
IBMUnknown26-Sep-2000
MicrosoftNot Vulnerable26-Sep-2000
NCRUnknown26-Sep-2000
NECUnknown26-Sep-2000
NetBSDUnknown26-Sep-2000
OpenBSDUnknown26-Sep-2000
RedHatUnknown26-Sep-2000
SCOUnknown26-Sep-2000
SequentUnknown26-Sep-2000
SGIUnknown26-Sep-2000
Siemens NixdorfUnknown26-Sep-2000
SonyUnknown26-Sep-2000
SunUnknown26-Sep-2000
UnisysUnknown26-Sep-2000
U/WINVulnerable13-Nov-2000

References


http://andrew2.andrew.cmu.edu/rfc/rfc1572.html

Credit

Thanks to Steve Bellovin of AT&T, who reported this problem to us.

This document was written by Shawn V Hernan.

Other Information

Date Public09/26/2000
Date First Published09/26/2000 02:26:20 PM
Date Last Updated10/25/2001
CERT Advisory 
CVE NameCAN-2000-0892
US-CERT Technical Alerts 
Metric1.01
Document Revision5

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2000 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader