{"vuid":"VU#881872","idnumber":"881872","name":"Sun Solaris telnet authentication bypass vulnerability","keywords":["Sun","Solaris","Telnet","arbitrary remote access","USER","environment variable contains","in.telnetd","NEW-ENVIRON","cert-seccode:STR02-C","INFO#111001"],"overview":"A vulnerability in the Sun Solaris telnet daemon (in.telnetd) could allow a remote attacker to log on to the system with elevated privileges.","clean_desc":"The Sun Solaris telnet daemon may accept authentication information via the USER environment variable. However, the daemon does not properly sanitize this information before passing it to the login program, and login makes unsafe assumptions about the information. This may allow a remote attacker to trivially bypass the telnet and login authentication mechanisms. In some default configurations of Solaris this vulnerability cannot be exploited to gain access to the root account, but it can be used to gain privileges of other accounts, such as adm and lp. According to Sun, Solaris 10 (SunOS 5.10) and Solaris \"Nevada\" (SunOS 5.11) are affected by this issue. More information is available in Sun Alert Notification 102802 and in Alan Hargreaves' blog, here and here. This vulnerability is being exploited by a worm, for more information see the Security Sun Alert Feed and Technical Alert TA07-059A.","impact":"A remote attacker could log on to a vulnerable system via telnet and gain elevated privileges.","resolution":"Apply a patch\nApply the patches referenced in Sun Alert Notification 102802.","workarounds":"Disable telnet Disable telnet if it's not needed. Telnet can be disabled by issuing the following command: # svcadm disable telnet\nRestrict access You may wish to block access to the vulnerable software from outside your network perimeter, specifically by blocking access to the ports used by Sun Solaris telnet (typically 23/tcp). This will limit your exposure to attacks. Prefer SSH over telnet SSH provides a comparatively more secure method for remotely logging into a system than telnet. As general advice, we recommend using SSH rather than telnet.","sysaffected":"","thanks":"This vulnerability was reported by Kingcope.","author":"This document was written by Art Manion and Chris Taschner.","public":["http://www.ietf.org/rfc/rfc1572.txt","http://blogs.sun.com/tpenta/entry/the_in_telnetd_vulnerability_exploit","http://blogs.sun.com/tpenta/entry/more_on_the_in_telnetd","http://sunsolve.sun.com/search/document.do?assetkey=1-26-102802-1","http://blogs.sun.com/security/entry/solaris_in_telnetd_worm_seen","http://secunia.com/advisories/24166/","http://securitytracker.com/alerts/2007/Feb/1017625.html","http://www.ciac.org/ciac/bulletins/r-139.shtml","http://riosec.com/solaris-telnet-0-day","http://www.computerdefense.org/?p=258","http://blog.ncircle.com/blogs/vert/archives/2007/02/whats_old_is_new_again.html","http://erratasec.blogspot.com/2007/02/trivial-remote-solaris-0day-disable.html","http://www.com-winner.com/0day_was_the_case_that_they_gave_me.pdf","http://asert.arbornetworks.com/2007/02/solaris-telnet-scanning-possible-worm/"],"cveids":["CVE-2007-0882"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2007-02-12T07:57:04Z","publicdate":"2007-02-10T00:00:00Z","datefirstpublished":"2007-02-12T14:58:18Z","dateupdated":"2008-07-21T18:13:54Z","revision":77,"vrda_d1_directreport":"0","vrda_d1_population":"3","vrda_d1_impact":"4","cam_widelyknown":"20","cam_exploitation":"16","cam_internetinfrastructure":"14","cam_population":"12","cam_impact":"15","cam_easeofexploitation":"20","cam_attackeraccessrequired":"20","cam_scorecurrent":"67.5","cam_scorecurrentwidelyknown":"67.5","cam_scorecurrentwidelyknownexploited":"72.9","ipprotocol":"tcp","cvss_accessvector":"--","cvss_accesscomplexity":"--","cvss_authentication":null,"cvss_confidentialityimpact":"--","cvss_integrityimpact":"--","cvss_availabilityimpact":"--","cvss_exploitablity":null,"cvss_remediationlevel":"ND","cvss_reportconfidence":"ND","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"ND","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"0","cvss_basevector":"AV:--/AC:--/Au:--/C:--/I:--/A:--","cvss_temporalscore":"0","cvss_environmentalscore":"0","cvss_environmentalvector":"CDP:ND/TD:ND/CR:ND/IR:ND/AR:ND","metric":67.5,"vulnote":null}