eEye Digital Security eEye Digital Security
  • Login to the eEye Business Client Portal
  • Shop for eEye Products
  • Read the eEye Blog
  • Subscribe to eEye RSS Feeds
  • Follow eEye on Twitter
  • Follow eEye of Facebook

Research > Zero-Day Tracker > 20070212

Sun Solaris Telnet Bypass

Date Disclosed:

Date Patched:


Affected Software:
Solaris 10
Solaris 11

A login bypass vulnerability exists within the Telnet daemon of Sun Solaris 10 and 11. This vulnerability allows an attacker to remotely login as a privileged user (i.e. 'root') if the telnet daemon is running with root privileges on the targeted host. The vulnerability exists because the Solaris Telnet service does not scrub the switches before passing the login name to the login process. Login will then auto-login the user specified following the '-f' switch, as demonstrated by the referenced proof of concept.


Code Execution:

Anonymous Login as Privileged User
This vulnerability allows for a remote attacker to anonymously login as any privileged user (including root) into a Solaris 10/11 host running the telnet daemon as root. This allows for rapid system compromise without any user interaction.

eEye Research suggests that customers disable Telnet on all Solaris 10/11 hosts and switch to SSH instead.
Command to disable telnet: svcadm disable telnet

Another mitigation technique is to restrict telnet access to only those users who can provide valid authentication information.
Command: inetadm -m svc:/network/telnet:default exec="usr/sbin/in.telnetd -a user"

eEye's Retina® Network Security Scanner scans devices to detect for this vulnerability.

Sun Alert ID: 102802

ISC Diary - "Another Good Reason to Stop Using Telnet"
First Public PoC Code Disclosure (Remote Bypass)

2/12/2007: Advisory Posted
2/14/2007: Patch Released

Copyright ©1998-2011 eEye Digital Security
Permission is hereby granted for the redistribution of this alert electronically. It is not to be edited in any way without express consent of eEye. If you wish to reprint the whole or any part of this alert in any other medium excluding electronic medium, please email for permission.

The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are no warranties, implied or express, with regard to this information. In no event shall the author be liable for any direct or indirect damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk.

Next Steps

Free Trial
Test drive an eEye product
On-demand Demo
See an online product tour
One-on-one Demo
Schedule a personalized tour
Compare Products
See side-by-side features
Buy Now
Go to eEye product store
Contact | Site Map | Privacy | Website Feedback | 1.866.339.3732
© 1998 – 2012 eEye Digital Security. All rights reserved.