{"vuid":"VU#800829","idnumber":"800829","name":"Telnet Client Information Disclosure Vulnerability","keywords":["information disclosure","telnet client","NEW-ENVIRON","input validation error"],"overview":"A vulnerability in the handling of the NEW-ENVIRON command allows a malicious telnet server to gain information from a client's environment variables.","clean_desc":"The Telnet network protocol is described in RFC854 and RFC855 as a general, bi-directional communications facility. The Telnet protocol is commonly used for command-line login sessions between Internet hosts. The vulnerability is in the NEW-ENVIRON sub-command that is the mechanism to used for passing environment information between a telnet client and server. Use of this mechanism enables a telnet user to propagate configuration information to a remote host when connecting. Please see RFC1572 for more information. As specified in section 3 of RFC1572 the expected default behavior should be \"that there will not be any exchange of environment information\". In order to exploit this vulnerability, a malicious server can send a connected client the following telnet command: SB NEW-ENVIRON SEND ENV_USERVAR <name of environment variable> SE Vulnerable telnet clients will send the value of the referenced environment variable. Environment variables may contain a variety of the information such as local username, executable file search paths, locations of sensitive data, and other potentially sensitive information about the client computer. Please note telnet functionality has been embedded in many applications and not just underlying operating systems distributions. The iDefense Security Advisory contains additional information about affected and unaffected vendors.","impact":"An attacker may be able to gather information about remote systems and users who connect to attackers malicious telnet server. An attacker would have to trick a victim into initiating a telnet connection using a vulnerable client. This may be accomplished with an HTML rendered email or web page, using the TELNET:// URI handler, however further user interaction may be required.","resolution":"Apply an update from your vendor\nPatches, updates, and fixes should be available from multiple vendors.","workarounds":"Workarounds\nDisable access to telnet, limit the use of telnet to trusted sites and/or encourage the use more secure remote connection clients. On Unix systems it might be viable to remove execute permission from telnet and other binaries that perform telnet. On Windows systems changing or removing the registry key entry:  HKEY_CLASSES_ROOT\\telnet\\shell\\open\\command\nshould reduce the likelihood of successful automatic exploitation attempts such as those using telnet URLs. Note these workarounds do not address the underlying vulnerability.","sysaffected":"","thanks":"Gaël Delalleau is credited with this discovery. Thank you to iDefense for coordinating the release of information about this issue.","author":"This document was written by Robert Mead based on information in the iDEFENSE Security Advisory","public":["http://www.idefense.com/application/poi/display?id=260","http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0488","http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1205","http://www.apps.ietf.org/rfc/rfc1572.html","http://www.securityfocus.com/archive/1/402230"],"cveids":["CVE-2005-0488"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2005-05-19T19:22:31Z","publicdate":"2005-06-14T00:00:00Z","datefirstpublished":"2005-06-14T21:47:16Z","dateupdated":"2005-07-28T21:05:04Z","revision":23,"vrda_d1_directreport":"0","vrda_d1_population":"2","vrda_d1_impact":"2","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"5","cam_population":"14","cam_impact":"4","cam_easeofexploitation":"2","cam_attackeraccessrequired":"4","cam_scorecurrent":"0.168","cam_scorecurrentwidelyknown":"0.21","cam_scorecurrentwidelyknownexploited":"0.378","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":0.168,"vulnote":null}