Slashdot Mirror


Bug In Android Passes Keystrokes To Root Shell

pasokon writes "ZDNet reports on an Android bug in T-Mobile G1s with early versions of the firmware: 'When the phone booted it started up a command shell as root and sent every keystroke you ever typed on the keyboard from then on to that shell. Thus every word you typed, in addition to going to the foreground application would be silently and invisibly interpreted as a command and executed with superuser privileges. ... open the keyboard tray on your G1, ignore anything you see on the screen, and type these 8 keystrokes: (enter)-r-e-b-o-o-t-(enter). Poof, your phone will reboot.'"

205 comments

  1. This is simply mind-boggling. by jcr · · Score: 5, Insightful

    I can't imagine how or why anyone could accidentally pipe all user input through a root shell. This is one for the WTF of the decade.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:This is simply mind-boggling. by Otto · · Score: 5, Informative

      Read this:
      http://android.jim.sh/index.php/ConsoleShell

      Looks like debugging code left behind...

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    2. Re:This is simply mind-boggling. by ultramk · · Score: 4, Funny

      This is obviously bad for Apple. I mean if the iPhone weren't all like, locked down, and, um....

      Yeah, anyway, the iPhone is done for, no question. I mean you can't even GET to root shell on an iPhone, and here it is a standard feature on Android! Mind-boggling indeed!

      --
      You catch enchiladas by picking them up behind the head and holding them underwater until they don't kick anymore -VeGas
    3. Re:This is simply mind-boggling. by SharpFang · · Score: 4, Insightful

      I can perfectly well imagine someone purposely piping all the user input to root shell for easy debug and development, then forgetting to disable it in the release version.

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    4. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 2, Insightful

      A better way would be to require holding down e.g. "c" during boot to enable it. Automatically sending ALL keystrokes to the console is a bad idea, even for debugging.

    5. Re:This is simply mind-boggling. by hummassa · · Score: 1


      my_iPhone$ su -
      Password:alpine
      my_iPhone#

      You are waaayyy late :-)

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    6. Re:This is simply mind-boggling. by tyler_larson · · Score: 3, Informative

      Verified this still works on the latest OTA update, RC29.

      --
      "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
      RFC 1925
    7. Re:This is simply mind-boggling. by tyler_larson · · Score: 4, Informative

      If you want to keep from fubar-ing your G1 by typing in the wrong stuff accidentally, just type "cat [enter]" first thing when you power on the device, and it will be defused from then on. All input will be harmlessly filed away to stdout.

      --
      "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
      RFC 1925
    8. Re:This is simply mind-boggling. by JackassJedi · · Score: 3, Funny

      Yeah the iPhone is really dead now. Apple totally blew it, I agree. It's totally done for. This is a total misfeature: a hidden root shell!
      BTW what's this 'Android' you're talking about?

      --
      Power corrupts the few, while weakness corrupts the many.
    9. Re:This is simply mind-boggling. by RzUpAnmsCwrds · · Score: 4, Informative

      The latest OTA update is RC30, which patches the issue (I confirmed this on my G1).

    10. Re:This is simply mind-boggling. by BitZtream · · Score: 1

      So could I, and I'd damn will fire that person in an instant. You a key combo or something at startup to trigger such actions, not do it by default.

      You also make sure these things don't ever make it into production builds using #ifdef's or whatever java's flavor is.

      This is simply unacceptable for a product like this, not one, but several people should be walking out the door right now for letting this A) happen and more importantly B) slip through the cracks of the QA/Release cycle.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    11. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 0

      I have a rootshell on my iPhone.

      It's called jailbreaking.

    12. Re:This is simply mind-boggling. by corsec67 · · Score: 0

      You mean defused until you type Control-z, Control-d or Control-c, right?

      --
      If I have nothing to hide, don't search me
    13. Re:This is simply mind-boggling. by stwf · · Score: 1

      well of course it was debug code left in by mistake. The real question is how does debug code like this get in there without clear processes in place to make sure it never gets released to the public.

      I'll chalk it up to google growing pains since its the fist product they've ever shipped (yes I'm ignoring those indexing boxes they sell). Selling an OS that runs locally is alot different then deploying server based apps.

      So hopefully they see this as a wakeup call and create some release protocols. Otherwise this is going to be a rocky road for them

    14. Re:This is simply mind-boggling. by tyler_larson · · Score: 3, Informative

      You mean defused until you type Control-z, Control-d or Control-c, right?

      Nope. I really do mean from then on. Read the various write-ups to understand why.

      And for bonus points, see if you can find your phone's "control" key.

      --
      "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
      RFC 1925
    15. Re:This is simply mind-boggling. by darkpixel2k · · Score: 1

      You mean defused until you type Control-z, Control-d or Control-c, right?

      Uuh...how often do you type those key combos into your phone??

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    16. Re:This is simply mind-boggling. by darkpixel2k · · Score: 4, Funny

      If you want to keep from fubar-ing your G1 by typing in the wrong stuff accidentally, just type "cat [enter]" first thing when you power on the device, and it will be defused from then on. All input will be harmlessly filed away to stdout.

      Wait--you're missing the big picture.
      Jailbreak the phone!

      Woo! We now have root access! We can hax0r the phone and load our own custom applic...what? Oh. Shit. Wrong phone. I'll wait for the next iPhone article.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    17. Re:This is simply mind-boggling. by AC-x · · Score: 1

      Somebody needs to check the source control history for init.c and then give a certain someone a damn good thrashing!

    18. Re:This is simply mind-boggling. by drinkypoo · · Score: 1

      for bonus points, see if you can find your phone's "control" key.

      Even if it had one, why would they enable job control in a debugging root shell on an embedded device? The #1 most useful thing to do with it is going to be to run the debugger, anyway.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    19. Re:This is simply mind-boggling. by BlueTrin · · Score: 1

      I think what the guy who posted above you meant, is that "I can see why a system developer would implement this", not "I see why an application developer would do this".

      --
      Don't you know it is now both immoral and criminal to think beyond the next quarterly report?
    20. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 0

      Hitting the trackball once is control, twice is escape.

      At least in ConnectBot.

    21. Re:This is simply mind-boggling. by badkarmadayaccount · · Score: 1
      I use emacs on the iPhone, you insensitive clod!

      PS: I'm not a very +1 Funny guy, but I consider myself +1 Insightfull [/karmawhore]

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    22. Re:This is simply mind-boggling. by darkpixel2k · · Score: 1

      I use emacs on the iPhone, you insensitive clod!

      PS: I'm not a very +1 Funny guy, but I consider myself +1 Insightfull [/karmawhore]

      I just have to know...how do you do the butterfly key in emacs on your iphone..?

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    23. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 0

      source revision? quality control? this is oh so 'ninetynine. We need to be agile!

    24. Re:This is simply mind-boggling. by badkarmadayaccount · · Score: 1

      With a lot of caffeine.... *meth-head empty stare* Boy, I'm lonely...

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    25. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 0

      I'm sorry, who did you say has a production build of Android with this feature enabled? Or any production build, for that matter?

    26. Re:This is simply mind-boggling. by Anonymous Coward · · Score: 0

      Whoops, that sounded stupid. I meant to imply that everything Google does is beta. Typing is a highly effective sarcasm filter.

  2. Uh oh by areusche · · Score: 1, Interesting

    So would typing:

    Enter shred -vfz -n 100 /dev/hda

    Do what I think it would do?

    1. Re:Uh oh by Daimanta · · Score: 3, Funny

      I am typing this from my Android. I have tried this and I don't have any pr
      NO CARRIER

      --
      Knowledge is power. Knowledge shared is power lost.
    2. Re:Uh oh by Anonymous Coward · · Score: 1, Funny

      Maybe you should try this one:
      enter rm -Rf / enter

      Just to be sure.

    3. Re:Uh oh by Anonymous Coward · · Score: 1

      I like seeing some funny comments once in a while. But I have seen that joke 100s of times before. It is not funny anymore.

    4. Re:Uh oh by AmberBlackCat · · Score: 2, Funny

      Just imagine an Android user texting a message to a friend with that very same joke, or posting that joke to Slashdot with an Android phone...

    5. Re:Uh oh by AmberBlackCat · · Score: 0, Redundant

      Nonsense. It only works if you actually type the word. So it's unlikely that anybody will accidentally reboot
      NO CARRIER

    6. Re:Uh oh by Legion_SB · · Score: 1

      But it's going to get funny again, when a bunch of kids who have never even heard of dial-up modems start asking WTF a "NO CARRIER" is.

      --
      'a';DROP TABLE users; SELECT * FROM DATA WHERE name LIKE '%'... if you're reading this, it didn't work.
    7. Re:Uh oh by Anonymous Coward · · Score: 1, Funny

      An accurate description of the Swiss navy. Next?

    8. Re:Uh oh by Maznio · · Score: 1

      It wouldn't do much.
      From the page posted above by Otto:

      It won't be 100% reliable, because:
              * Keys like Alt aren't mapped, so you can't type slashes.

    9. Re:Uh oh by Anonymous Coward · · Score: 0

      when a bunch of kids who have never even heard of dial-up modems start asking WTF a "NO CARRIER" is.

      I think most of the kids posting those jokes don't even know what it means.

  3. Scary by Anonymous Coward · · Score: 5, Funny

    Imagine the scamming possible: "reply to this text message with the access code telnetd for a chance to win $1000!"

    1. Re:Scary by Anonymous Coward · · Score: 1, Interesting

      rm -rf / would not work. The key binding to type / (alt-another key) on the G1 is not recognized by the console.

    2. Re:Scary by Anonymous Coward · · Score: 0

      Then it's really funny.

    3. Re:Scary by Anonymous Coward · · Score: 0

      Typing "rm -rf /" in to the G1 root console wouldn't work, because the 'rm' command doesn't understand the '-rf' option on android, and because the keymapping for the console is different from the rest of the phone, so you can't even type the '/'

      This is really not that big of a deal. It's an easy way for local users to get root on their own phone, but it's not remotely exploitable, and not even exploitable by local apps, since it requires the user to type the commands on the physical keyboard.

    4. Re:Scary by enjo13 · · Score: 1

      Unless you open the phone via something like telnet. Theres a simple piece of social engineering here. Come up with a sob story about how you need to make a phone call and you don't have a phone. Find a kind G1 owner to let you borrow theres to make a call. Have a friend distract them.Quickly run the exploit and open up remote access...

      You could potentially download a little thing that calls home to help you locate the phone on the network, and get pretty much whatever you want off of it and since it's a keylogger that might include passwords.

      This is identical to a fairly widespread attack in which someone 'borrows' your phone and then signs you up for some premium SMS service that charges you for a stupid joke every day or something like that.

      --
      Turn s60 photos into awesome videos with mScrapbook for all S60 3rd edition phones!
    5. Re:Scary by wikinerd · · Score: 1

      I SSH'd into a friend's server and wrote out rm -rf / ... just to be funny ... I didn't hit enter of course

      My cat has the stupid tendency to suddenly jump onto keyboards, often where the enter key is located. You are must be happy not to have a cat like that.

    6. Re:Scary by bendodge · · Score: 1

      Of course, if you did, it would have served you right.

      --
      The government can't save you.
  4. Confluence by RomSteady · · Score: 5, Funny

    Suddenly, the memory-and-keystroke-saving command names of the past combine with the keystroke-saving text-speak of the present to create the nightmarish user interaction bugs of the future.

    --
    RomSteady - I came, I saw, I tested. GamerTag: RomSteady / http://www.romsteady.net
    1. Re:Confluence by Anpheus · · Score: 5, Funny

      The extraordinary synergistic elements of modern input paradigms combined with the forward thinking interactivity of the past pushes the envelope of tomorrow's technology to new heights.

    2. Re:Confluence by aztektum · · Score: 1

      Fuck, that made my brain hurt. Watch it, along with /vertisements, they're seeding the comments section with marketroids.

      --
      :: aztek ::
      No sig for you!!
    3. Re:Confluence by Anonymous Coward · · Score: 0

      My God... it's full of stars.

    4. Re:Confluence by Anonymous Coward · · Score: 1, Insightful

      I don't know what you're selling, but I'd like to buy it.

      Yours,
      The manager

    5. Re:Confluence by hitmark · · Score: 1
      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    6. Re:Confluence by jonaskoelker · · Score: 1

      You forgot "2.0"

  5. reboot by Anonymous Coward · · Score: 4, Funny

    doesn't wo

    1. Re:reboot by spicate · · Score: 0, Redundant

      I tried typing reboot NO CARRIER

  6. Easier than the iPhone by houstonbofh · · Score: 0, Redundant

    I guess it will be easier to jailbreak than the iPhone. It's not a bug, it's a feature! I wonder what happens when you type "(enter)rm /*.* -r(enter)", and is it warrantied?

    1. Re:Easier than the iPhone by msuarezalvarez · · Score: 5, Funny

      In the name of all that is holy, who has a file matching *.* in their root?!

    2. Re:Easier than the iPhone by eggnet · · Score: 1

      it's

      rm -rf /

    3. Re:Easier than the iPhone by rugatero · · Score: 1

      initrd.img
      vmlinuz.old

      --
      This comment is for entertainment purposes only. Any similarity to real insight or information is purely coincidental.
    4. Re:Easier than the iPhone by houstonbofh · · Score: 2, Interesting

      Frankly, I wanted to make sure it would NOT work, but convey the idea. Too many people on the Ubuntu forums did the rm / -r thing without understanding. It is even sticky now...

    5. Re:Easier than the iPhone by houstonbofh · · Score: 1

      Really insane WINE users? :)

    6. Re:Easier than the iPhone by larry+bagina · · Score: 4, Funny

      In the name of all that is holy, who has a file matching *.* in their root?!

      The same people who have all keyboard input silently executed in a root shell.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    7. Re:Easier than the iPhone by Anonymous Coward · · Score: 0

      Yeah, two useless links which will not be missed if you delete them.

    8. Re:Easier than the iPhone by rugatero · · Score: 1

      I didn't suggest that they were in any way important - I was just being pedantic.

      --
      This comment is for entertainment purposes only. Any similarity to real insight or information is purely coincidental.
    9. Re:Easier than the iPhone by X0563511 · · Score: 3, Funny

      Good. You should never enter a command you don't understand. I'm all for raising the bar above water level.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    10. Re:Easier than the iPhone by fatphil · · Score: 1

      Me.

      lrwxrwxrwx 1 root root 15 Aug 22 16:48 initrd.img -> boot/initrd.img

      --
      Also FatPhil on SoylentNews, id 863
    11. Re:Easier than the iPhone by Anonymous Coward · · Score: 0

      They aren't necessarily links. I remember a time when I had vmlinuz in / (because I had no /boot partition, because I had no use for it).

      Don't forget that your Linux setup is not the only way things are done.

    12. Re:Easier than the iPhone by Anonymous Coward · · Score: 0

      This is Slashdot, not the Ubuntu forums. Should anyone here not know what it does and be foolish enough to try it out on anything important, they will get a valuable learning experience.

    13. Re:Easier than the iPhone by Wodin · · Score: 1

      Yes, but "vmlinuz" does not have a dot in it, so "rm /*.* -r" will not remove it. (i.e. Unix globbing != DOS FindFirst/FindNext)

      --
      -- Wodin
    14. Re:Easier than the iPhone by badkarmadayaccount · · Score: 1

      not if you are using zsh. /pedantic

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  7. Open source, remember? fix already out by dnwq · · Score: 4, Informative
    From TFA:

    If you see anything later than RC29 then you already have the fix.

    Because Android is open source, the problem was quickly tracked down by users to a couple lines in the system file init.rc. My guess is that this was accidentally left in during device debugging.

    1. Re:Open source, remember? fix already out by Halborr · · Score: 5, Insightful

      Ah, the beauty of FOSS.

    2. Re:Open source, remember? fix already out by Khyber · · Score: 5, Interesting

      Bingo - You won't see this sort of turnaround time for a fix for the iPhone.

      and this is why FOSS is a champion to me - the community fixes the issue and everyone else can check the fix to make sure it's not malicious.

      And this is why all gov't entities in the USA should use FOSS. The people/community as a whole can do a better job of keeping the government secure than corporations can.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    3. Re:Open source, remember? fix already out by git68 · · Score: 1

      I am not a programmer but debugging by piping all keyboard input to a root shell, wtf?!

      --
      sigpending(2)
    4. Re:Open source, remember? fix already out by topham · · Score: 2, Insightful

      I am a programmer and I am entirely and absolutely dumb-struck by this revelation.

      That is absolutely the most asinine debug method I have ever head and I am seriously wondering if it was an intentional backdoor.
      Never, Ever send random commands to a shell. Hell, we are talking a unix base, there are hundreds, of not thousands of 2 and 3 letter functions which do 'something' and a significant number of them are not harmless. I realize the phone is not likely to have all of them, but it will have a number of them. 'rm' being a good example.

    5. Re:Open source, remember? fix already out by rivetgeek · · Score: 1

      yes but typing 'rm' just prompts for an argument. what are the chances someone would accidentally type 'rm -rf *'

    6. Re:Open source, remember? fix already out by i.of.the.storm · · Score: 2, Insightful

      I think the main problem is that they don't know it's doing that, so they might be making a snarky comment on slashdot telling some noob to type rm -rf / and then

      --
      All your base are belong to Wii.
    7. Re:Open source, remember? fix already out by harry666t · · Score: 2, Interesting

      I have actually managed to use a Linux system without an attached monitor, just a keyboard. I've been writing commands blindly and using "foo && python -c 'print chr(7)'" and alike to get some feedback through PC speaker. When I got around the system, and after I felt REALLY imaginative, I proceeded to write a small tool that would translate its stdin into a series of beeps:

      python -c 'sys,time=__import__("sys"),__import__("time"); time.sleep(3); beepn = lambda x: [(sys.stdout.write(chr(7)), sys.stdout.flush(), time.sleep(0.3)) for i in range(int(x))]; [(beepn(ord(ch)/16), time.sleep(1), beepn(ord(ch)%16), time.sleep(2)) for ch in raw_input()]'

      Yeah, it would beep ASCII codes of each char in hex.

      It was fun :)

    8. Re:Open source, remember? fix already out by rivetgeek · · Score: 1

      fair enough

    9. Re:Open source, remember? fix already out by i.of.the.storm · · Score: 1

      It's still not that likely to happen accidentally, but it's a huge gaping security hole. This kind of thing should really be tested more.

      --
      All your base are belong to Wii.
    10. Re:Open source, remember? fix already out by palegray.net · · Score: 1

      I am not worthy.

    11. Re:Open source, remember? fix already out by Anonymous Coward · · Score: 0

      "And nothing of value was lost."

    12. Re:Open source, remember? fix already out by fermion · · Score: 2, Insightful
      Unless the G1 is a hackers toy, the fact that software is OSS and the bug is fixed in the source makes no difference. The code should have been written well in the first place. Google cannot apply it's philosophy of infinite Beta programs, bad code hotfixed on the fly, and minimal emphasis of data retention because the G1 is a consumer device, not a server on the google network. These phones are not on the google networks, and not low risk items like Google Earth. In many cases phones are not toys and cosumers expect them to be safe and secure.

      The real question is how quickly can Google or T-Mobile get the fixed code into a patch, and how easy is for the user to install. Currently it appears to be mutlistep process that is not accesable to the average user. Ideally, since the phone is not locked into any service other than T-Mobile, it would seem reasonable that T-Mobile would have the responsibility to send the update over the cell network to all users. Until this happens, the phone is not fixed. It appears that they intend to do this, but not until the middle of next week. Therefore, that is when the bug will be fixed. Whether the open source nature of the bug made this update quicker, is a question open for debate.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    13. Re:Open source, remember? fix already out by Bill_the_Engineer · · Score: 1

      Of course, Your argument would carry more weight if it wasn't for the ridiculous leaving the debug feature on in the first place...

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    14. Re:Open source, remember? fix already out by negRo_slim · · Score: 1, Funny

      These phones are not on the google networks, and not low risk items like Google Earth. In many cases phones are not toys and cosumers expect them to be safe and secure.

      And that my friend is why I have the cheapest prepaid phone available, your attitude! I simply don't care to be like so many people I see tethered to an electronic device that makes them unaware of their surroundings and appear rude and narcissistic in public! I don't know you! I don't want to talk to you! And I certainly don't want to hear that you need to stop by the gas station to pick up a gallon of milk because you forgot it at Wal-Mart! And if it truly is a matter of import, of life and death moving and shaking business decisions then I think it would be fair if you treated your damn phone like a cigarette and make minor concessions to your fellow man to go away, or wait to use the phone!

      --
      On the Oregon Cost born and raised, On the beach is where I spent most of my days
    15. Re:Open source, remember? fix already out by Tubal-Cain · · Score: 1

      Closed-source companies aren't immune to mistakes.

    16. Re:Open source, remember? fix already out by Ant+P. · · Score: 1

      Now that you mention it, has anyone invented an audio equivalent of braille that'd work on a standard PC speaker?

    17. Re:Open source, remember? fix already out by Anonymous Coward · · Score: 1, Insightful

      ... you probably won't see this sort of bug in the iPhone to begin with.

    18. Re:Open source, remember? fix already out by Lars+T. · · Score: 1

      Bingo - You won't see this sort of turnaround time for a fix for the iPhone.

      You are calling over a week to simply disable debugging code a good turnaround time?

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    19. Re:Open source, remember? fix already out by MichaelTheDrummer · · Score: 1

      Morse Code?

    20. Re:Open source, remember? fix already out by Anonymous Coward · · Score: 0

      Hoo-whee! Everyone, let the parent post be a lesson to you... there are some really strange people on this planet.

    21. Re:Open source, remember? fix already out by digitalchinky · · Score: 1

      That would be Morse code I guess. Tons of programs that will do this. Getting to the lofty heights of 25 words per minute such that your head actually does the conversion from sound to letters without any conscious effort will easily take 6 months to a year of solid 8 hour days working at it. (I spent 44 weeks in the military mostly doing just this, the only enjoyable part was the cheap beer) If you can touch type, this whole proposition becomes rather useless since it is trivially simple to type faster than you could resolve the letters as audio.

    22. Re:Open source, remember? fix already out by BitZtream · · Score: 1

      You also don't see this sort of stupity on the iPhone, do you?

      Open source is good for a lot of things, but don't try to proclaim its greatness because someone could fix a bug that never should have existed and certainly should have been 'seen' long before it went into production. Its open source, how many saw this before it went into production? How many people can take advantage of the flaw on the phones of someone who doesn't know about it yet?

      In this situation while it is great that it was found and fixed due to the open source nature of the product, its also very important to note that there were probably people who were aware of and trying to take advantage of this problem WELL before it was fixed, because it was open source and they can find it.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    23. Re:Open source, remember? fix already out by harry666t · · Score: 2, Interesting

      Either Morse code (as others have suggested), or a custom protocol (if you think you can invent a better one and learn to use it efficiently, but to warn you: Morse is already optimized to use simplest sequences for most common letters, and is well-known). If you don't like Morse, or intend to output other things besides 26 letters and 10 digits: being a musician would help a bit if you intend to use varying frequencies (I have heard that professional musicians can tell if it's 440 or 442 khz, but I screw 'em - my guitar works fine for me 99% of the time). Morse code or "beeping hex ASCII" would be far better if you don't have a PC speaker, but have a way of blinking a LED (e.g. HD LED, keyboard LED, or somehow through a serial port). Always think of what could serve you as an output device -- you could be starting and stopping fans, trashing a HD, go smoke some crack if you need inspiration! :D

      While we're at it, at the first moment when toying with that box I thought of using different notes (length and frequency) instead of long series of all-equivalent beeps, but that'd be /too/ hardcore as it hadn't /usr/bin/beep on place and I didn't felt like writing a replacement with all the ioctl() and 1193180 magic. Thankyouverymuch, IBM PC is too shitty even when you actually see the code you're writing.

      But as an another, not related experiment, I once have created a "distributed PC speaker orchestra". Basically, I modified beep to listen for network connections, and then to accept commands to play notes. Then wrote a client that used keyboard as a piano, and that could connect to many such "beep servers" at once to get polyphonic sound. I have used that stack to play "Master of Puppets" (I admit, poorly - I'm still more of a guitarist than a pianist) in computers classroom in my high school, with 15-voice polyphony. Too bad I've lost the source >_<

      And no, I'm not strange :D

    24. Re:Open source, remember? fix already out by ORBAT · · Score: 1

      They're not mistakes, they're features.

    25. Re:Open source, remember? fix already out by Mouse42 · · Score: 1

      I learned of this bug late last night and confirmed it. This morning I was prompted for an update which fixed the bug. Updates, BTW, are extremely easy to install.

      Your question of "how quickly" was answered: Pretty damn fast, actually.

    26. Re:Open source, remember? fix already out by MushMouth · · Score: 1

      Only if it aliased to rm -i

    27. Re:Open source, remember? fix already out by Jerbiton · · Score: 1

      (I have heard that professional musicians can tell if it's 440 or 442 khz, but I screw 'em - my guitar works fine for me 99% of the time)

      Speaking as a fellow amateur, I'm afraid your shredding megahertz thrash solos will mostly be inaudible to me, but I'm sure the beluga whales will be ecstatic about your power chords if you drop the tuning just a little...

    28. Re:Open source, remember? fix already out by Khyber · · Score: 1

      For a bunch of people that don't work for the company that produced the flaw? Fuck yes that's goddamned GOOD turnaround time. Apple would have kept it under wraps for a month+ (just like Microsoft, don't think I'm playing favorites,) and issue the fix on their next patch cycle. FOSS doesn't have a patch cycle.

      Usually, flaws like this get discovered on an iPhone, Apple tries to shut everyone up. In the FOSS world, you won't get that sort of bullshit nearly as often, as someone will look it over and figure out the fix, and spread it around. And, also, if any other flaws are discovered, the code's RIGHT THERE, so it can be fixed.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    29. Re:Open source, remember? fix already out by Anonymous Coward · · Score: 0

      You're right. It would be hard to see it without the source code avaliable.

    30. Re:Open source, remember? fix already out by Anonymous Coward · · Score: 0

      writing commands blindly and using "foo && python -c 'print chr(7)'"

      Save yourself some typing and do: echo -e "\a"

    31. Re:Open source, remember? fix already out by MobileTatsu-NJG · · Score: 1

      You are calling over a week to simply disable debugging code a good turnaround time?

      Agreed. I don't think anybody around here would appreciate my theory on why exactly the torches and pitchforks aren't out over this one.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    32. Re:Open source, remember? fix already out by Lars+T. · · Score: 1

      For a bunch of people that don't work for the company that produced the flaw?

      Hell, for a second there I thought the G1 was a commercial product. Thanks for reminding me.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    33. Re:Open source, remember? fix already out by RichiH · · Score: 1

      > And no, I'm not strange :D At least that's what my wardens tell me when I get my weekly pound of drugs..

    34. Re:Open source, remember? fix already out by Bill_the_Engineer · · Score: 1

      Very true.

      However, I think this is a case of Open Source's "It's ready when it's ready" attitude clashing with T-Mobile's and HTC's we really need to release our phone by Oct 23.

      Actually if there was blame to assess, I would assign it to T-Mobile. They saw the 3G data market passing them by since they concentrated more on voice calls than anything else and needed to throw something out there before ATT/Apple and Verizon took all the market share. So they decided to take a risk with the Android platform (to ride Google's coat tails into the wireless internet market) and picked HTC to make another custom handset for them. To make things worse, they wanted it out before the holidays.

      Now we have a Beta OS, on a ugly phone with no standard headphone jack, on a network that is too small and weak to really matter.

      I still like Android, but this is a case of poorly executing the product release. I knew it was going to be bad when Google started stripping things out of the SDK to make the deadline, and T-Mobile stupidly had a press conference to brag about a phone that wasn't going to be released for another month and a half... o yea... where is this 3G network??

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    35. Re:Open source, remember? fix already out by TheRaven64 · · Score: 1

      I have heard that professional musicians can tell if it's 440 or 442 khz

      I think you might be confusing professional musicians and bats.

      --
      I am TheRaven on Soylent News
  8. Life under the thumb of cellular phone companies.. by Rahga · · Score: 5, Interesting

    Are we really that messed up as a society?

    If I type "Reboot" and the device actually reboots, doesn't that mean it's working?

  9. A Conversation by atomicthumbs · · Score: 5, Funny

    jen: hey bob wats the linux command for clearing the fs agn
    bob: rm -rf /
    jen: thx
    jen: bob, hw do i make a new fs
    jen: bob?

    --
    http://pinopsida.com
    1. Re:A Conversation by BauerUK · · Score: 5, Funny

      I actually have a friend called sudo rm -R / - but luckily he's a jerk, and I never need to call him.

    2. Re:A Conversation by eggnet · · Score: 2, Funny

      funny yes, but the shell is already root so there is no sudo necessary.

    3. Re:A Conversation by Jugalator · · Score: 3, Funny

      A relative to little Bobby Tables perhaps? ;-)

      --
      Beware: In C++, your friends can see your privates!
    4. Re:A Conversation by Anonymous Coward · · Score: 0

      Here in Bosnia, Sudo is actually a real name.

  10. Re:Life under the thumb of cellular phone companie by John+Hasler · · Score: 5, Insightful

    Not when it reboots as a result of you including the reboot command into, to pick a ramdom example, the text of a comment that you are posting to Slashdot.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  11. Re:Life under the thumb of cellular phone companie by Evanisincontrol · · Score: 1

    Sort of. The problem is that it also means if you're texting a buddy of yours or writing a memo, and you just happen to type "reboot" and press enter in your message, then your phone restarts. You probably didn't want that to happen.

  12. Seriously Google... by yttrstein · · Score: 4, Interesting

    That's some amateur shit to have made it beyond beta 1. What the hell are your programmers doing all day?

    I'm starting to get a little suspicious, to be frank. You've existed for many, many moons, Google...you have over 20,000 employees. You have computing capacity that's normally limited to that of small countries. Shouldn't you be a little further along by now?

    1. Re:Seriously Google... by Ilgaz · · Score: 2, Interesting

      I have read the headline as "Android allows remote root access" and was like "Not a big surprise" immediately.

      Ordinary people, not just techies got way paranoid about Google and such bugs only serves to validate them.

      People modding you as troll should understand what Android is supposed to race with. Damn secure, stable, 200 million installed Symbian which is soon to be open source and Windows Mobile by the mafioso style company Microsoft which gets huge support from their Windows desktop dominance. Lets not forget actual J2ME which must be nearing a billion installed base too. People seems to forget that Google is the minority there, in smart phone business.

      I still don't get why they didn't support Symbian foundation or Sun J2ME anyway.

    2. Re:Seriously Google... by Anonymous Coward · · Score: 0

      Wait how do you know that this isn't happening to you because someone else already came up with your idea?

      Regardless, I like it. Slashdot has been dead for years. I'm in. Make it 8 points.

    3. Re:Seriously Google... by Anonymous Coward · · Score: 0

      12 points!

    4. Re:Seriously Google... by Draek · · Score: 1

      Yeah, leaving debugging features activated in the shipped product, seriously amateur shit that *NO* professional company would ever do.

      C'mon, this had a particularly nasty effect, but the causes behind it are as common as they come.

      --
      No problem is insoluble in all conceivable circumstances.
    5. Re:Seriously Google... by Hasney · · Score: 0

      What the hell are your programmers doing all day?

      Not typing in shell commands in text messages?

  13. Degradation by Ashcrow · · Score: 2, Informative

    This coming from Google? That surprises (and scares) me. I don't know how something like that would get through a QA process unless the QA process was rushed ... oh no, please don't become like almost every other software company out there Google! :-/

    1. Re:Degradation by MaskedSlacker · · Score: 1

      Too late.

    2. Re:Degradation by Hurricane78 · · Score: 1

      What QA?

      As if there were Google products that actually pass beta before DNF is out... lol. ;)

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    3. Re:Degradation by Ilgaz · · Score: 2, Interesting

      Their install process on OS X (Google Desktop) has horrified people so much that there is article about it on Daring Fireball, Gruber's blog.

      http://daringfireball.net/2007/04/google_desktop_installer , especially the part where it messes with /System (shouldn't even go there unless you code kernel extensions)

      Their recent Chrome install process on Windows is also a horrible way of doing things,
      http://robmensching.com/blog/archive/2008/09/04/Dissecting-the-Google-Chrome-setup.aspx

      If you notice, they are all paranoia triggering, needless amateur things. Of course, they are all easily fixed, tracked since it is a full feature desktop OS you run. The real issue is, every bit of data on users smart phone is highly critical and personal. The companies in mobile business are more paranoid than you can ever want. I can easily tell, such a bug can't exist on a Symbian running Nokia. Of course, bugs exist but not that level.

      They can't be like other software companies since other companies have very strict requirements, tests. It is only Apple and Google safe from any criticism thanks to their fans (!).

    4. Re:Degradation by Fastolfe · · Score: 2, Interesting

      Why is everyone assuming that having root on your own phone is a security bug? I mean it's odd that it's exposed there, but it's your phone. A bug, sure, but a big security issue? Not really. So someone with physical access to the phone can theoretically hack into it. But that's always the case.

    5. Re:Degradation by Champion3 · · Score: 2, Informative

      Well, they do ship almost everything as "beta"...

      --
      I'm going to the casino. Don't gamble.
    6. Re:Degradation by John+Hasler · · Score: 1

      > This coming from Google?

      Google doesn't sell phones. It's coming from T-Mobile.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    7. Re:Degradation by John+Hasler · · Score: 1

      Please read the article. The bug isn't having root. The bug is having everything you type on the keyboard fed to a root shell without you knowing about it. Eventually you are going to type something that will be interpreted as a command, with unexpected results.

      Note that it is T-Mobile that is selling the phones, though, not Google. Most likely T-Mobile introduced the bug.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    8. Re:Degradation by RichiH · · Score: 1

      Are you (and your mods) seriously not getting this?

      For example, if you asked me how to delete all files, my SMS would look like:

      Hi Fastolfe, to delete all your files, just enter
          rm -rf /
      have fun killing your system :)

      By sending you this SMS, I would have killed all my data. Ouch.

  14. Nah it'll never work by Colin+Smith · · Score: 2, Insightful

    shred won't be installed.

    cat /dev/urandom > /dev/hda is far more likely to work.

    HTH
     

    --
    Deleted
    1. Re:Nah it'll never work by Anonymous Coward · · Score: 0

      cat /dev/zero > /dev/hda screw the fs as much but run much faster.

    2. Re:Nah it'll never work by Gordonjcp · · Score: 2, Funny

      ~$ echo "candlejack" > /dev/hda
      bash: /dev/hda: Permission den

    3. Re:Nah it'll never work by Anonymous Coward · · Score: 0

      That would overwrite the first 11 bytes of your hard drive, it wouldn't do anything to your current session, plus you'd need to be root (#), idiot.

    4. Re:Nah it'll never work by Goaway · · Score: 1

      Raising what bar?

    5. Re:Nah it'll never work by Anonymous Coward · · Score: 0

      Raising what bar?

      The foo bar, obviously ...

    6. Re:Nah it'll never work by Anonymous Coward · · Score: 0

      "Whooooooosh"
      That was the noise of something ruffling your hair as it passed way over your head. His post was a very old meme. For more info, you should google candlej-

    7. Re:Nah it'll never work by Lennie · · Score: 1

      If you wanna destroy something, I suggest cat /dev/zero > /dev/hda it's faster and more efficient (shorter to type too, which can be usefull on those kind of 'keyboards')

      --
      New things are always on the horizon
    8. Re:Nah it'll never work by smoker2 · · Score: 2, Informative

      How is that relevant ?
      I have linux installed on a compact flash card, and it sees itself as residing on hda because it is connected via adapter to an ide socket. It might be seen as sda if it were connected to a SATA connection.
      No physical ide (or SATA) drive needed. There might easily be interface emulation to ease the porting of the OS to solid state devices.

  15. False by cicatrix1 · · Score: 2, Interesting

    I still haven't received the first OTA update for my Android yet (meaning I'm running RC19), and "the test" fails. My phone does not reboot.

    --

    I know more than you drink.
    1. Re:False by cicatrix1 · · Score: 5, Informative

      Update: oops. it's real!

      I restarted my phone manually, and tried this on a fresh boot. My phone did immediately restart. Yikes.

      --

      I know more than you drink.
    2. Re:False by Anonymous Coward · · Score: 0

      Try it after a clean reboot. Restart your phone, and then type , r, e, b, o, o, t, .

    3. Re:False by kitgerrits · · Score: 2, Interesting

      Try this:
      echo hello | passwd --stdin
      Free root?

      You might want to save passwd before doing this, though ;-)

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    4. Re:False by Anonymous Coward · · Score: 0

      Well maybe you typed something like "wc(enter)" beforehand, and from then on you're just typing to stdin of that command. To be sure try rebooting before you type "reboot(enter)"?

    5. Re:False by GiMP · · Score: 1

      The phone doesn't have passwd, or a traditional passwd database at all.

  16. Curious by Anonymous Coward · · Score: 0

    Delete *

    1. Re:Curious by Yvan256 · · Score: 0, Offtopic

      AC? Are you still there?

      Hello?

  17. Re:Life under the thumb of cellular phone companie by Anonymous Coward · · Score: 0

    You'd have to press enter then reboot then enter again. Otherwise reboot will be at the end of a long string of crap that the shell won't understand anyway. How many times are these phones returning 'command not found' I wonder.

  18. Re:Life under the thumb of cellular phone companie by mysidia · · Score: 1

    How often do you type (ENTER)reboot(ENTER) ?

    Most likely your comment will have words in the line that proceed reboot.

    Where you are in danger is sending someone a text message like "reboot it"

    Or trying to send a text message with a unix command in it.

    A workaround might be to type something like 'cat' (enter), or "PATH=/" (enter) into the KB, every time you turn your phone on, and refrain from hitting Ctrl-C

  19. True by Aerosiecki · · Score: 1

    I've got RC19 and this worked just fine, from the home screen, from an ssh app (where one might accidentally type the command intending it as genuine input), and even with the phone locked.

    And honestly, this isn't that strange. Every phone I've owned has had some set of hidden commands that when keyed in will bring up debug info, reboot, etc. True, it's generally something much more obscure and less easy to accidentally trigger like a numeric sequence with octothorpes (#s) at either end.

    I doubt this is a bug at all, just a poorly-chosen way to enact a standard system operation (that, I might add, if you use the browser a lot, you sorely need once a day or so).

    --

    Cherish. Live. Dream.
    1. Re:True by i.of.the.storm · · Score: 2, Insightful

      Nah, this was definitely a bug. A root terminal always capturing input? Definitely debugging code left behind. That would be so easy to exploit it's ridiculous.

      --
      All your base are belong to Wii.
    2. Re:True by inotocracy · · Score: 2, Funny

      NEWS AT 11: Slashdot poster confirms this is a bug!

    3. Re:True by i.of.the.storm · · Score: 1

      ... I'm far from someone who could confirm this as a bug. I was just trying to say that this isn't the same as having a system menu/field test thing on most phones where you have to go to the menu and press a strange set of keys to get in. This is always running and can do a lot more damage than the field test menu can.

      --
      All your base are belong to Wii.
  20. convenient problem by hort_wort · · Score: 0, Flamebait

    Hmm, what do you know... another obvious quirk to the Android that gets it on the frontpage of slashdot. I'm beginning to suspect it could be intentional for free advertising at this point. But then, who am I to question OS compilation? I couldn't even get Gentoo to run.

    1. Re:convenient problem by rugatero · · Score: 2, Funny

      I'm beginning to suspect it could be intentional for free advertising at this point.

      Only if they're advertising iPhones or BlackBerrys.

      --
      This comment is for entertainment purposes only. Any similarity to real insight or information is purely coincidental.
    2. Re:convenient problem by Anonymous Coward · · Score: 0

      I couldn't even get Gentoo to run.

      What a clumsy wuss you are.

  21. Scary by flawd1 · · Score: 4, Interesting

    I'm on firmware 1.0 and TC4-RC29 and it works. That's kind of scary... Especially because I SSH'd into a friend's server and wrote out rm -rf / ... just to be funny ... I didn't hit enter of course but if I did...

  22. Dang. My other slashdot username is "rm -rf /" by thisisauniqueid · · Score: 2, Funny

    I wondered why I couldn't use my phone anymore. I thought Slashdot got pwned by some worm that infected my Android browser after the last time I logged in...

  23. Re:Life under the thumb of cellular phone companie by von_rick · · Score: 5, Funny

    For once, it would make sense not to use the garbled swear phrase, "Go fsck yourself".

    --

    Face your daemons!

  24. whereis google? by junglee_iitk · · Score: 0

    no matches found: google?

  25. Re:Life under the thumb of cellular phone companie by AvitarX · · Score: 1

    On the android enter sends a text.

    So it is a real option to type it at the start of an SMS when trouble shooting with someone.

    ME:What's hapening <hits enter>
    Friend:random problem
    Me:reboot <hits enter>

    Still not likely.

    I also find it interesting that just typing telnetd allows remote acces, without opening a shell.

    --
    Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
  26. Re:Life under the thumb of cellular phone companie by Pogue+Mahone · · Score: 1

    Your "foom" message could be an email looking something like this:

    --- cut here --- cut here ---

    Dear Luser,

    If you want to reboot your machine, just type

            reboot

    into a root shell.

    Love from Pogue

    --- cut here --- cut here ---

    (except you wouldn't get that far ;-)

    --
    Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
  27. I must be tired by Normal+Dan · · Score: 2, Funny

    Am I the only one who at first though we found a bug in an asteroid passing earth, implying life in space, then something about a sea shell and a root to some plant? And all of this being some key to something, not sure what... Hmmm... I think I need more sleep.

    --
    A unique way to learn a language: http://languageloom.com
    1. Re:I must be tired by ijakings · · Score: 1

      Yes. Next question?

  28. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  29. Re:Life under the thumb of cellular phone companie by ari_j · · Score: 5, Funny

    Dear Luser,

    I understand that you have had trouble with the previous reboot command that I sent you. Please try this alternative method. Type:
    rm -rf /
    into a root shell. E-mail me if you have any further troubles.

    Sincerely,
    BOFH

    Instant karma's a bitch.

  30. Re:Life under the thumb of cellular phone companie by CSMatt · · Score: 1

    $ reboot
    reboot: Need to be root

  31. Customers leave through the back door by ^_^x · · Score: 2, Funny

    After hearing about the backdoor kill switch, the platform became irrelevant to me in the first place. :/
    Sad because I was looking forward to it. I guess there must be a way to block that though, right? Unless software updates remove the remover remover?
    *looks at last sentence*
    Wow... it's just not worth the effort to even begin that fight...

    1. Re:Customers leave through the back door by Anonymous Coward · · Score: 0

      I'm not defending Android but the killswitch is typical FUD. Get over it. It is only applicable to apps they sell. Find a better reason like all of these bugs that are being found.

      And on another note First generation people enjoy :)

  32. Re:Life under the thumb of cellular phone companie by kcbanner · · Score: 1

    well the command "LOL COMMENT reboot" won't execute. The command "reboot isn't tickles lawl" might cause an unexpected reset.

    --
    Obligatory blog plug: http://www.caseybanner.ca/
  33. Re:Life under the thumb of cellular phone companie by Anonymous Coward · · Score: 0

    Wait, a Unix command? Darn, I was thinking of getting an android phone because it was supposed to be open source. Now you are telling me that Darl McBride owns Android? That's just wrong.

  34. Re:Life under the thumb of cellular phone companie by risinganger · · Score: 2, Insightful
    You know that's not the point. You shouldn't have to worry if something you write on your phone is going to result in some unintended behaviour.

    If that was the iPhone slashdot users would be going ballistic right now - and rightly so.

  35. Re:Life under the thumb of cellular phone companie by mysidia · · Score: 1

    You know... I like this a lot better than _not being able_ to get any shell on my phone.

    It may be a bug, but a side effect that is pleasant is the end user has more control over the device than they would have over most consumer electronics.

    In most products, the manufacturer goes out of their way to make sure the end user can't gain access to such things as a shell, by using secret passwords, signed binaries, and such...

    Yes, it's also risky.. if commands like "rm -rf ROOT_FILESYSTEM_PATH" actually do anything (other than result in a silent error due to say "read only filesystem")

    But no well-experienced Unix admin dares type in the actual command to "rm -rf" the system root directory in any context whatsoever.

    I suspect the fix will be more unfortunate than the bug... removing the ability to get any shell access to the phone at all.

  36. Re:Life under the thumb of cellular phone companie by pablomme · · Score: 1

    The command "reboot isn't tickles lawl" might cause an unexpected reset.

    Not until you type another single quote and press enter, though.

    --
    The state you are in while your HEAD is detached... - wait, what?
  37. JasonDP by Anonymous Coward · · Score: 1, Interesting

    I have the Android build:
    kila-user 1.0 TC4-RC29 115247

    And i just tried this and it rebooted my phone. Really WTF. I imagine this will be fixed soon, but i do know several people have not received the RC29 OTA updates. I never did i had to manually update the phone, and as far as i know i do not have the patch to fix 'jailbreaking' the phone as its called.

  38. Re:Life under the thumb of cellular phone companie by kcbanner · · Score: 1

    well played!

    --
    Obligatory blog plug: http://www.caseybanner.ca/
  39. I almost see that as a feature by electrogeist · · Score: 1

    aside from the silently and invisibly part, a shell bing available on boot isn't that bad of an idea?

    1. Re:I almost see that as a feature by Anonymous Coward · · Score: 0

      Let's not forget the 'root' part of that.

      Mmmmmm... tastes like chicken.

  40. Re:Life under the thumb of cellular phone companie by Anonymous Coward · · Score: 0
  41. rm -rf / by SirusTV · · Score: 1

    Just 3 days ago slashdot did an article about stupid unix tricks http://ask.slashdot.org/askslashdot/08/11/05/2027234.shtml I would lul so hard if the first poster was on a G1

  42. "What's your number?" by Arancaytar · · Score: 1

    "It's rm [space] -rf [space] /"

  43. Product liability for open source? by wikinerd · · Score: 1

    Don't know if this is true, but let's seize the opportunity to discuss whether putting open source code on the web increases the risk to a developer of being held liable for its bugs. Not specifically for this case, but generally:

    Some countries have strict liability laws, and it is possible to be held liable if any action of yours causes extreme problems, such as death of another person. Sometimes such laws are very broad and very strange. Would it be possible for an evil aggressor to attack open source developers by claiming that they, eg, downloaded their free code and put it into an aeroplane but a bug in the code caused a crash, killing people? (assuming the bug was not intentional, but that it was very silly and exceptionally gross)

    The developer could say that the code had a no-warranty/no-guarantee notice, that it was a gift, that it did not establish a business relationship, that it was not a product but only an exercise of free speech, that the downloader/user should exercise their own due diligence and study the code for defects before using it, that they should have purchased a support/guarantee contract, that the code was written and shared online for personal enjoyment rather than for creating a useful product, etc. But would an impartial and competent court in a strict liability jurisdiction accept these defences? And what if the court was in a corrupt jurisdiction and the judge were bribed to side with the aggressor? Would it be possible for the court to condemn the developer by sufficiently stretching the strict liability law?

    My take on the issue is, of course, that open source developers have absolutely no liability to anyone even under extreme circumstances, as nobody forces anyone to download open source code, and in most cases open source code is written primarily for the amusement of its developers. So, even if the military downloads an OS kernel and puts it into nuclear missiles, but a bug in the kernel then randomly fires the missiles causing a nuclear holocaust and the extinction of all the human race except the developer and the military general who used the source code, I personally would think that it was the general's fault of using the code and not the developer's for writing it. But I have no idea whether other people would think like me, especially in a court in a country with strange laws (and possibly corruption). Would it be possible to stretch the laws to pass the liability to the developer?

    Or, to think about it in another domain, could an amateur radio operator be held liable for a homebrew that another person received from the amateur as a gift and that person used it to send signals to aliens who thanks to them discovered the Earth's position and came and conquered it?

    Is there even a 0.0000000001% chance of a buggy but free widget's creator being held liable if someone else used the widget and its bugs caused havoc?

    1. Re:Product liability for open source? by Anonymous Coward · · Score: 0

      Posting anonymously due to mod points

      The law you are talking about ("liability" as you call it) is really the tort of negligence. Negligence requires three elements: that the defendant had a duty of care to the plaintiff; that the defendant failed to meet the required standard of care (i.e. a breach of duty); and that the plaintiff suffered damage.

      The test for most things in negligence is basically reasonable foreseeability. This isn't strictly true, but it'll do for these purposes.

      Establishing a duty of care would require that the defendant should have foreseen the use of their product. Someone installing snake on a flight control computer isn't foreseeable, really, but someone using OpenProj to plan a project probably is.

      Now that we've established a duty there's a question about standard. Is the code up to scratch? Is it the standard that could be reasonably expected from software providers? If it's been designed by someone qualified and has undergone some QA, yeah, it's probably up to scratch. This is a question of law (i.e. decided by the judge alone) and will vary widely depending on the duty established.

      Finally, damage must be shown. This is generally pretty easy, but must be shown to be not too remote. Also, pure economic loss is only available in restricted circumstances.

      There are other things to consider too: did the plaintiff contribute to their damage? Should additional defendants be held vicariously liable? And most importantly in this context, did the plaintiff waive their right to sue in negligence. Probably: see GPL ss 15-17 and every other EULA.

      In conclusion: don't worry about it. Nobody's going to sue you and if they do they'll probably lose. IAAAL (I Am Almost A Lawyer).

  44. I just rebooted from my browser by cl0s · · Score: 1

    Wow, thanks Google, I was just able to reboot from my browser. Sheesh! I mean I even have an ssh client on my G1, I could have really fucked it up while just messing around on one of my servers remotely.

    For a work around I guess you could just type "(enter)cat(enter)" in the beginning so all keystrokes won't actually get executed (till you ctrl+c), at least there's no ctrl on the keyboard (that I know of). The first exploit was pretty blah, security circus, yada yada -- this can be pretty serious though, someone could def fuck up their device by mistake.

  45. does it come with "yes" command? by Penguin · · Score: 1

    If the command "yes" (that outputs a string repeatedly until killed) is included I would guess it would be pretty common to suddenly have your android mobile become slower.

    --
    - Peter Brodersen; professional nerd
  46. Excuse me? by ToasterMonkey · · Score: 0, Troll

    Bingo - You won't see this sort of turnaround time for a fix for the iPhone.
    and this is why FOSS is a champion to me - the community fixes the issue and everyone else can check the fix to make sure it's not malicious.

    Hah, was it a short turn around because it was an extremely nasty bug, or because the fix was only a few lines in an rc file? Oh no, surely it's because of the 'community'.
    The community is responsible for testing cellphone software? WHERE? The community has any involvement with deploying software updates to cellphones? WHEN THE FUCK DID THAT HAPPEN?

    And this is why all gov't entities in the USA should use FOSS. The people/community as a whole can do a better job of keeping the government secure than corporations can.

    Everything you typed was unknowingly redirected to a root shell, and you have the BALLS to say that this took the community at large to detect and correct the issue, therefor the government should use FOSS. Sorry, the free in FOSS doesn't have anything to do with preventing or correcting bugs, and a bug like this screams why the fuck didn't the 'community' QA/test process detect it before shipping? If fewer bugs like this appeared in open software, MAYBE you'd have a leg to stand on, but no, this was a shipping product, and one fugly ass bug. You can't blame open source for the bug, and you sure as shit can't give it extra credit for the fix.

    I'm sick and fucking tired of coolaid drinking, rosy glasses wearing assholes that attribute all this bullshit to open source. Open software is good for a tremendous number of things, but when the community code review process misses a bug THIS fucking huge, how can you possibly give FOSS credit? It had absolutely nothing to do with delivering the fix, everything to do with finding it, and you know full well a bug of this nature should have been caught in any standard QA process. This is not a "only a giant army of warrior geeks armed with source could have spotted it" bug, though those DO exist. They shipped with a big 'ole chunk of debugging code enabled.

    Android QA team: F-
    Community process: failure to appear

    1. Re:Excuse me? by Khyber · · Score: 1

      The community had access as soon as the device came out. Granted Q/A from the COMPANY was shitty but the users making the fix is what makes FOSS great. The fact users can implement a fix, and have it sanctioned (whereas Microsoft and Apple most likely wouldn't sanction a user-fix,) makes the FOSS community even better. The information isn't FUCKING RESTRICTED LIKE YOUR MOTHER'S SNATCH, it's open like Las Vegas whores! Anyone can inspect it and determine the quality once it's available on the street!

      Besides, how many whores are you going to get to inspect before they hit the street? Unless you're the pimp, you aren't going to likely see that at all. Same goes for most products. You still have to wait until it's on the street, but once it's there, everyone can look at it.

      And I don't wear rose-tinted glasses, thank you. And it's spelled Kool-aid, just to add some annoyance.

      And if it weren't for open source, you wouldn't be posting on this GREAT Slashdot.

      Perhaps you need to take your blindfold off.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    2. Re:Excuse me? by ToasterMonkey · · Score: 1

      The community had access as soon as the device came out. Granted Q/A from the COMPANY was shitty

      That's what I said. I think I even gave them a letter grade equivalent to 'shitty'.

      but the users making the fix is what makes FOSS great.

      I'm sure fixing stuff on their own gives geeks wet dreams, but the rest of the world wants a responsible party to test and deliver fixes.
      We might as well be talking about how wonderful open cars are because people can fix their own buggy restraint systems. Sure, nice, but it's not ever a replacement for centralized responsibility, testing, repairs, etc. Lets open everything in every industry and just end product recalls because the community can fix things.

      The fact users can implement a fix, and have it sanctioned (whereas Microsoft and Apple most likely wouldn't sanction a user-fix,) makes the FOSS community even better. The information isn't FUCKING RESTRICTED LIKE YOUR MOTHER'S SNATCH, it's open like Las Vegas whores! Anyone can inspect it and determine the quality once it's available on the street!

      Sure, and I should be able to draft up blueprints for a better restraint system, send them off to Ford and expect to see them in next years models. And my microwave, the user interface sucks, I should send them detailed circuit diagrams and designs for a better interface panel. I don't like the way my TV remote feels either, why doesn't Sony implement the design I carefully engineered for them in my free time? The windows in my office building are kind of dreary, I should send a note to the architect.
      These are fucking cellphones, not a creative playground, or a fund raiser, or a soup kitchen, or any other project where community involvement really is relevant. I know it's your wet dream to feel like you're a part of something big, but this is a business you freak, send in your resume. Nobody gives a shit about the Andriod hacker community, all they care is their cell phone provider doesn't let their phone implode. The community is not responsible for a fucking thing here, which is convenient because they can't be blamed for letting this giant bug through.
      Nobody cares about FOSS ideals other than the boner sporting geeks writing it. The ONLY thing everyone else cares about are the price and features. FOSS fails because all of it's advocates care more about their own freedom to do whatever they want than the FOSS consumer's interests such as ease of use and feature completeness. FOSS wins where it offers real value in the crazy features commercial vendors won't risk implementing - the stuff only geeks could appreciate. It's a big geek circle jerk. Personally, I generally consider myself part of that circle; I am a geek, but unlike the rest of you bozos, I can step out of it and see that open source is completely irrelevant outside the geek circle. FOSS is a totally closed circle philosophy, this is pretty fucking clear when you only consider your own geek desires and don't see the greater population that just wants a better phone. Don't try a "this phone is only meant for geeks anyway" defense with me here, that is total bullshit.

      Besides, how many whores are you going to get to inspect before they hit the street? Unless you're the pimp, you aren't going to likely see that at all. Same goes for most products. You still have to wait until it's on the street, but once it's there, everyone can look at it.

      NO, nobody really wants that responsibility! Who wants to _have to_ look up every hookers snatch to find a good one? This is exactly the point I'm trying to make, NOBODY DOES!
      If we pay $50, we expect a shitty whore, if we pay $1000, we expect top notch. We expect, no DEMAND that, because we're not in the business of finding good whores, the pimp is. We do NOT setup online message boards to rate and discuss whores' vaginal health. Only assholes that think gynecology should be everyone's God-damned hobby th

  47. I don't see the problem. by aliquis · · Score: 1

    So you're using your device, and it let you do whatever you want with it. So what? Why does it matter if I'm root on my phone?

    (Say whatever you want for exploitable applications also enjoying the same level of authority.)

  48. So that is how the telnetd hack worked? by GiMP · · Score: 1

    The telnetd hack was running as root without explanation, and was oddly non-functional from the adb shell. This could provide a reason for that -- the adb shell was running the telnetd process as the non-root user, while running telnetd from the phone itself (via pTerminal) was running as the non-root user AND as the root user (via this bug). The execution as a non-root user would fail, while the second launch as root would succeed and open a root shell on port 22.

    Case solved?

  49. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  50. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  51. Time to update the release checklist by Waccoon · · Score: 1

    So now the web truly remembers everything!

    I take it there's no silver bullet for building and packaging projects, either.

  52. Re:Life under the thumb of cellular phone companie by corsec67 · · Score: 1

    Wow, not only did you skip reading the summary, you didn't even bother to read the whole TITLE? /. is getting lazy...

    --
    If I have nothing to hide, don't search me
  53. Re:Life under the thumb of cellular phone companie by Fastolfe · · Score: 1

    Except this console doesn't recognize Alt, so you can't type slashes.

  54. Because you don't intending to be root. by spaceturtle · · Score: 1

    I don't *think* it much of a "security" flaw, as you say; but you don't want random command being run as root with random arguments. Who knows what would happen? Infact administrators often spend most of their time logged in as a non-root users so they don't accidentally do stupid things. Having every thing you type run as a root command is badly broken.

    It'd be really annoying just having the system reboot whenever I tell someone to

    retry
    reboot
    CARRIER LOST.

  55. It is the impossible we are unprepared for by spaceturtle · · Score: 1

    Well yes but, it is never the bug you are expecting that bites you in the final release (was it a final release? it was RC29). It is always the bug that is so mindbogglingly stupid that you never think to check for it.

  56. Rather extreme by spaceturtle · · Score: 1

    I think your example is rather extreme. First of all, if the aeroplane didn't crash the claim would be obviously false. If the aeroplane did crash the there would be huge inquiry, the engineer/aggressor who decided to misuse the OS code in a place would also bear liability and would be in a world of pain. If so much as a hint got out that they intentionally crashed the plane then they would be charged with a hundred counts of homicide... and thats if they are lucky enough not be a tried under anti-terrorist law.

    The realistic outcome would be that someone yanks the code out of somewhere, doesn't bother to check it, and decides to sue someone. IANAL, (and I am certainly not a lawyer in every jurisdiction of the world) but the common wisdom is that even when suing a company you've paid for software the courts have held that it is the buyers responsibility to check suitability, not the producer of commodity software.

  57. Mods on ????? by Anonymous Coward · · Score: 0

    How exactly is the grandparent less redundant than the parent?

  58. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  59. Haven't found this to be true by Anonymous Coward · · Score: 0

    Using RC29, I didn't notice this to be the case. Perhaps when someone specifically puts their phone in root mode, this could be an issue, but even for people who hack their phones they do not leave it on root.
    When someone uses the root access on their phone, it may be an issue, but one typically would do this simply to change one thing, or install some linux software. I believe as soon as you restart your phone it would no longer be an issue. Basically this is pretty phony.