Slashdot Log In
Solaris Telnet 0-day vulnerability
Posted by
Hemos
on Mon Feb 12, 2007 09:40 AM
from the frantically-trying-to-fix dept.
from the frantically-trying-to-fix dept.
philos writes "According to SANS ISC, there's a vulnerability in Solaris 10 and 11 telnet that allows anyone to remotely connect as any account, including root, without authentication. Remote access can be gained with nothing more than a telnet client. More information and a Snort signature can be found at riosec.com. Worse, this is almost identical to a bug in AIX and Linux rlogin from way back in 1994."
Related Stories
[+]
Worm Exploiting Solaris Telnetd Vulnerability 164 comments
MichaelSmith writes "Several news sites are reporting that a worm is starting to exploit the Solaris Telnet 0-day vulnerability. By adding simple text to the Telnet command, the system will skip asking for a username and password. If the systems are installed out of the box, they automatically come Telnet-enabled. 'The SANS Internet Storm Center, which monitors Internet threats, has noticed some increase in activity on the network port used by Solaris' telnet feature, according to an ISC blog posted on Tuesday. "One hopes that there aren't that many publicly reachable Solaris systems running telnet," ISC staffer Joel Esler wrote.'"
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Why is this a big deal? (Score:5, Insightful)
Re: (Score:3, Interesting)
Re: (Score:3, Insightful)
but ONLY on trusted lans, of course.
I find it quicker than ssh logins. of course its quicker, it has no encryption to do. and the initial seeding (at connect time) also takes a LONG time on some boxes (ssh to a cisco box; come back after lunch and you'll get your login prompt).
telnet over a wan is dumb. telnet over a 10' piece of wire is NOT dumb.
telnet has its place.
Re:Why is this a big deal? (Score:4, Informative)
Parent
Re:Why is this a big deal? (Score:5, Insightful)
Can you get the OS vendor to jump and have a man there within 30 minutes to fix it if a supported OS function doesn't work? Yes. Can you get the OS vendor to jump and have a man there within 30 minutes if OpenSSH doesn't work? No. Sometimes it's as simple as that, unfortunately.
That said, don't think that I believe telnet is a good substitute for ssh, but often, and especially in a turtled environment (hard on the outside, soft on the inside) where five nines are more important than internal security, it may still be a better choice, at least until all the OS vendors provide fully supported (and compatible!) versions of SSH.
Parent
Re:Why is this a big deal? (Score:5, Insightful)
The OP is right, he knows his risks and has deemed it acceptable. You and others, having no idea of the risk, deem it unacceptable and are the ignorant ones.
Parent
Re:Why is this a big deal? (Score:5, Insightful)
Most likely, the reverse DNS is misconfigured. This is the number one reason for ssh-login delays. Maybe, the nameservers initially put into the router's configuration are no longer reachable due to subsequent "hardening". Or, maybe, they went away and were replaced long ago — without anybody telling the routers. Nothing else on a router uses DNS usually, so this problem affects only ssh-daemon and gets blamed on it...
The daemon could, of course, be a little bit smarter and not try to do a reverse DNS, when there are no hostname-based authorization rules in the first place... But that's a minor bug compared to reverse DNS being dysfunctional.
Parent
Re: (Score:3, Informative)
Who the hell even THINKS about enabling telnet on any box these days?
Sun, apparently, since it's enabled by default.
Re:Why is this a big deal? (Score:5, Informative)
Parent
Re:Why is this a big deal? (Score:4, Informative)
If you're on Solaris 8 (SunOS 5.8 or Solaris 2.5.8) or 9 (SunOS 5.9, or Solaris 2.5.9), you appear to be safe.
This is relevant because large companies seldom jump to the newer versions until they have to - for production systems, as long as the older versions are supported and working, that's more important than gambling on existing software still working if upgrading the OS. So there's an awful lot of systems with Solaris 8 and 9 out there, but luckily they appear not to be affected.
Parent
Re:Why is this a big deal? (Score:5, Funny)
telnet 23/tcp imadumbass hackmenow rootrus rotflmao
Parent
Re:Why is this a big deal? (Score:5, Funny)
Having said that, today is a good day to find out if that head of IT you never liked anyway has telnet enabled on one of his Solaris machines
Parent
Re:Why is this a big deal? (Score:5, Interesting)
1) Fermi National Accelerator Laboratory.
That'll account for a couple thousand computers. It's left as an exercise for the reader to find other sites.
Are they just crazy? I know that almost every single box at FNAL has the telnet daemon running, and is behind no firewall. Why aren't they hacked-to-death? Kerberos.
FNAL has a policy that every service beyond central IT's web pages is protected by Kerberos. The Kerberos-enabled version of telnet is as secure as one can get; I've been told by their sysadmins that it is more secure than SSH because it is simpler and the network and authz/authn stacks are separated. So, historically, Kerberos-enabled telnet has had less bugs than SSH.
Just because YOU don't run telnet (or don't know how to run it securely) doesn't mean that there aren't thousands of boxes out there that are secured by it.
If there are actually any Sun boxes at FNAL (they were one of the original big adopters of Linux), you can bet they'll probably be turned off today...
Parent
Re:Why is this a big deal? (Score:4, Informative)
You're right... No more secure websites for you, since HTTPS is just HTTP over an SSL data stream.
You could just as easily use Kerberos to encrypt HTTP traffic as SSL, and that is indeed exactly what Kerberos does for just about any communications protocol...
Kerberos telnet is as encrypted as it gets.
Parent
Re:Why is this a big deal? (Score:4, Insightful)
If it were me I'd just log everything in every session (which is easy), and make the users use SSH. That way you can audit everything they do, every command they type, but still have a level of security. You have to remember that any user can sniff telnet traffic on the network, so forcing everyone to use telnet because you don't trust them means the ones who are untrustworthy have a better chance of stealing something useful from a coworker.
Even better would be to hire trustworthy people and treat them as such in the absence of evidence to the contrary.
Parent
Re:Why is this a big deal? (Score:5, Informative)
Who the hell even THINKS about enabling telnet on any box these days?
Sadly, a whole lot of people. I work for a company that makes very expensive and cool specialty servers that perform certain security related functions. As a security company, naturally we take care not to tarnish our reputation by leaving these servers vulnerable themselves. We try to encourage our customers to be moderately responsible as well, as any box can be made insecure. I know of at least on tier-1 ISP that has one of our boxes sitting publicly accessible with telnet enabled and no IP access restrictions.
As for who uses telnet in general, most ISPs in Asia seem to use telnet to configure their systems via their control networks. Large financial institutions in Europe use telnet, as use of encryption is restricted on their trusted networks, for reasons of transparency to the stock regulating authorities. ISPs in South America often use telnet and provide shell accounts to customers. I'm sure there are more groups that use it for one reason or another.
Parent
not an excuse (Score:5, Insightful)
The Exploit (Score:4, Informative)
So stupid.
Didn't work on Solaris 10 01/06 (Score:5, Informative)
Re:Here come the fanboys (Score:5, Informative)
Still, first poster is right. Wtf uses telnet anymore, unless they're dealing with the most legacy of legacy crap.
Parent
Re:Here come the fanboys (Score:5, Informative)
Parent
Re:Configuration issue (Score:5, Informative)
Parent
Re:Configuration issue (Score:5, Informative)
1) this attack does not work:
Escape character is '^]'.
Not on system console
Connection closed by foreign host.
2) when installing U3 one can opt to close most services. This could be also done after installation with "netservices limited" command.
Parent
Re:Configuration issue (Score:4, Informative)
This has been confirmed on the latest version of Solaris 10.
Parent
Re:0-day? (Score:5, Informative)
Parent