Slashdot Mirror


T-Mobile G1 Rooted

An anonymous reader writes "T-Mobile's G1 phone, the first commercially available Android based phone, has been rooted. The exploit is extremely simple to execute, just requiring you to run telnetd from a terminal on the phone, and then connecting to the phone via telnet."

43 of 246 comments (clear)

  1. Re:Really? by Anonymous Coward · · Score: 3, Funny

    I claim this first root post for Spain!

  2. Rooted? by earthcreed · · Score: 5, Funny

    This just in, all machines that you have root access on rooted! If you have access to run telnetd you already have root.

    1. Re:Rooted? by Deadplant · · Score: 5, Funny

      in related news, researchers have discovered that if you open a root console on any flavour of linux and stick the keyboard out a window anyone walking by will be able to gain root access to you machine.

    2. Re:Rooted? by deniable · · Score: 3, Insightful
      More importantly, if you have physical access to the console, all bets are off.

      News Flash

      Houses are rootable. If you unlock your doors and hang out a 'rob me' sign, people can break in.

    3. Re:Rooted? by deniable · · Score: 4, Insightful
      Well, yeah. You did run telnet for them. Why else would you run it? Hasn't it been on the list of don't run services for years now?

      The much better question is: why is there a telnetd on the phone in the first place?

    4. Re:Rooted? by neowolf · · Score: 4, Funny

      Agreed. Non-story. This is just stupid.

      Excuse me sir... I would like to hack into your phone. Could you please type this in for me...

    5. Re:Rooted? by Olix · · Score: 3, Insightful

      To be fair though, lots of people /are/ stupid enough to fall for this kind of thing... consider how well that "I love you" worm or whatever it was did a few years back.

      With the right method, I'm sure you could con people into doing something silly with an Offical-sounding text message, and then exploit it.

    6. Re:Rooted? by Pope · · Score: 3, Insightful

      If the door's unlocked, it's hardly "breaking in," is it?

      --
      It doesn't mean much now, it's built for the future.
    7. Re:Rooted? by Sparr0 · · Score: 4, Insightful

      Because telnetd has some tiny fraction of the system overhead of ssh daemons, even "tiny" ones.

    8. Re:Rooted? by Koiu+Lpoi · · Score: 4, Funny

      I would honestly bet that a house with a rob me sign would not be robbed. Most burglars would feel it's some kind of trick.

    9. Re:Rooted? by Anonymous Coward · · Score: 4, Funny

      That reminds me of the van owner that put up a sign saying 'No tools or valuables inside'

      The next morning it had been broken into and the theives had left a note saying 'Just checking'

    10. Re:Rooted? by Anonymous Coward · · Score: 4, Informative

      And it also works in the other way... you can put your already rooted equipment into any window, and anybody inside that house will be able to gain root access, and also call the
      police

    11. Re:Rooted? by paeanblack · · Score: 5, Informative

      If the door's unlocked, it's hardly "breaking in," is it?

      Yes it is.

      The "Breaking" part of "Breaking & Entering" refers to breaking the plane of entry, not physically damaging anything.

      "Breaking" is not actually a separate action from "Entering". The reason they are used together is for clarity...one word derives from Old English, and the other word derives from French. Writing laws this way was useful when the Normans and Saxons were trying to cohabitate on the same island.

      There are many legal terms constructed the same way:
      Null and void
      Cease and desist
      Last Will and Testament
      Aid and Abet
      Goods and Chattels
      Terms and Conditions
      etc.

    12. Re:Rooted? by Smauler · · Score: 4, Informative

      Erm.... Breaking and entering is exactly what it says. Just entering is call trespassing, and just breaking is called criminal damage. Don't ask me how I know :).

    13. Re:Rooted? by haystor · · Score: 5, Funny

      Clearly, we should avoid using windows.

      --
      t
    14. Re:Rooted? by SnowZero · · Score: 5, Funny

      Null and void

      These are very different things, at least if you are a C programmer.

    15. Re:Rooted? by pete_norm · · Score: 5, Funny

      How do you know?

    16. Re:Rooted? by lysergic.acid · · Score: 4, Funny

      i dunno. tech support operators have a hard enough time walking the average person through how to run ipconfig on their windows PCs. trying to get the average person to open a terminal in Linux to run anything would be like trying to walk a cow down a flight of stairs.

    17. Re:Rooted? by sexconker · · Score: 3, Insightful

      The BEST ringtones!
      The FUNNIEST jokes!
      REAL horoscopes tailored for YOU!

      Sports! Fashion! Celebrity gossip! Keno numbers!

      Just text FAIL to 37528!

      Sign up now and get a free spinning rim background!

      SPECIAL BONUS for G1 owners!
      After texting FAIL to 37528, open up telnet to receive your mystery gift!

      Text FAIL to 37528, TODAY!

    18. Re:Rooted? by Anonymous Coward · · Score: 4, Funny

      No. Needs citation and permanent link to reputable source. We will then run it past the legal department and conduct a full analysis of all facts and observations and, upon filing the requisite forms, of course, only then will we consider your suggestion of "humor". Please allow the standard six to eight weeks for the laugh.

    19. Re:Rooted? by Speare · · Score: 4, Funny

      Your right, dammit. Should be "NULL && void*".

      Wow, that's two languages in which you've completely failed. In less than sixty characters.

      --
      [ .sig file not found ]
  3. I haven't followed the whole Android business, but by Loibisch · · Score: 5, Funny

    ...wasn't this supposed to be an open platform anyway? I don't quite get it.

  4. Coral to the rescue by MightyYar · · Score: 3, Interesting

    Coral Cache

    On a side note... a hyphenated domain name! How retro...

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    1. Re:Coral to the rescue by Philosinfinity · · Score: 3, Funny

      It could be worse... I chose a domain name with a double hyphen... aleph--null.com Whenever a web form states that my email address is invalid, i realize my folly just a bit more.

    2. Re:Coral to the rescue by Splab · · Score: 3, Insightful

      I've never understood why so many web programmers insist on parsing E-mail addresses, very few are capable of doing it correctly. I usually use splab+someidentification@mydomain.tld - this way I can track where I submitted the address they got - but since programmers insists on parsing the E-mail address they almost always considers + to be invalid.

      Just send the person a confirmation E-mail and bobs your uncle.

    3. Re:Coral to the rescue by GXTi · · Score: 3, Informative
      I don't understand why placeholder arguments aren't used 100% of the time a string is placed into a SQL query. It's completely baffling. Were that the case, SQL injection attacks would be totally infeasible, excepting even dumber TheDailyWTF-grade scenarios like having clients send SQL to the server. I suspect that PHP doesn't have them (or makes them harder to use), which would explain why it's such a horrible language.

      As for validating emails, check that there's at least one @ and that the part after the final @ has at least one dot in it, and you're good to go. No regular expressions required!

  5. Bad Idea by TheAmit · · Score: 4, Insightful

    Waiting to see how many non-Linux types try this and get in trouble. Its not a good idea to change permissions on sh. All other apps you run on your phone and use sh are now running as root [:)] I would be very scared of this setup. Going to enjoy this

  6. Wait...so.... by kcbanner · · Score: 3, Insightful

    The user...has to run telnetd...as root...how...how is this an exploit? Maybe its more complex than this but the site is currently 503ing for me.

    --
    Obligatory blog plug: http://www.caseybanner.ca/
    1. Re:Wait...so.... by MrMr · · Score: 3, Informative

      No it's not more complex. The curious bit is that telnetd appears to set uid=0 after login, which allows you to make a setuid root shell.

  7. Re:hmnn? by antifoidulus · · Score: 5, Funny

    Well, its a problem if you are both security conscious AND stupid.... oh how I wish that was a much smaller intersection than it actually is....

  8. This is like saying... by NitroWolf · · Score: 4, Insightful

    This is like saying something is "bricked" when it's just a bad firmware flash that can be fixed.

    The phone isn't rooted. Rooted means someone gained root access through an exploit and/or installed a root kit. Running telnetd and then connecting as root is a normal method of logging in, no exploits required.

    Or are they saying every UNIX system that has a method of remote access is rooted?

    1. Re:This is like saying... by Anonymous Coward · · Score: 5, Funny

      Well, I found an exploit to alter the root password on Unix systems. It's really simple. You just login or su to root, then run the command 'passwd'. Works every time.

    2. Re:This is like saying... by omeomi · · Score: 4, Informative

      The phone isn't rooted. Rooted means someone gained root access through an exploit and/or installed a root kit. Running telnetd and then connecting as root is a normal method of logging in, no exploits required.

      Well, given that it's a device that isn't designed to be root-accessible by the user, this did require somebody to do something that the manufacturer didn't intend in order to gain root access.

  9. They left Telnetd on it? by LWATCDR · · Score: 3, Insightful

    What???
    Telnetd is one of those things that should just be deleted from every system that it is on.
    Just use SSH folks.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  10. Re:I haven't followed the whole Android business, by Sparr0 · · Score: 4, Informative

    Sorry, I fail for not RTFA. They are misusing "rooted", which confused me. "rooted" in the popular [geek] vernacular means that a remote non-admin user can gain root access, such as through a buffer overflow exploit. It has nothing to do with the practice of gaining root access on your own devices.

  11. No, you don't have to run as root first. by Animats · · Score: 4, Informative

    It's apparently weirder than that. Running "telnetd" as an ordinary user apparently allows remote logins as root. This happens even though the "telnetd" executable does not apparently come with permissions set-UID to root. If that's correct, there's a security hole somewhere else that's being used by accident here. Is "login" a set-UID program on Android phones?

    (As a robotics guy, I hate the name "Android" being used for a telephone. It's the worst choice since "U.S. Robotics" which ended up as a modem company.)

    1. Re:No, you don't have to run as root first. by SnowZero · · Score: 3, Interesting

      Just about everyone in the robotics community calls them humanoid robots anyway. "Android" and "droid" are pretty much confined to sci-fi, and by the time we have real androids, I'm pretty sure this phone OS will be a thing of the past. Sure, Ishiguro's current work in this area is pretty interesting, but even those robots are only mistaken for humans from a distance, and they aren't mobile.

  12. Re:I haven't followed the whole Android business, by Yetihehe · · Score: 4, Insightful

    Better get used to it. First was the "hacker" word, now "rooting".
    What's next, "open"?

    --
    Extreme Programming - Redundant Array of Inexpensive Developers
  13. Whole lot of stupid going on in these replies .. by Idimmu+Xul · · Score: 4, Insightful

    The point of this exploit isn't so you can remotely hack other people's phones, it's so mobile hackers can get to a lower level than Android permits users to do, which will allow them to flash the phone with unsigned custom updates and what not and customise their phone more.

    People should really read the articles and smarten up.

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  14. Re:I haven't followed the whole Android business, by Duradin · · Score: 3, Insightful

    Don't forget "bricked".

    Bricked used to mean you took the piece of equipment out to the firing range for its final trouble "shooting".

    Now it means you just press the reset button.

  15. Comment removed by account_deleted · · Score: 5, Funny

    Comment removed based on user account deletion

  16. Re:Whole lot of stupid going on in these replies . by todrules · · Score: 3, Funny

    People should really read the articles and smarten up.

    You must be new here.

  17. In addition to... by jonaskoelker · · Score: 5, Funny

    So are Terms and Conditions.

    Terms are the things around your pluses and minuses.

    Conditions (in my interpretation) are expressions of an integral type inside a conditional statement.

    I wouldn't want to handle volatile chemicals or long johns or union jacks if I'm about to get struct bylightning. Happened to me once, a long long time ago.