7 ms·
Kindle Touch jail broken via ID3 Tag
- judofyr 15y agoAre you kidding me? They found a XSS hole?! How can you create anything based on HTML and not think about XSS?
- dsr_ 15y agoIt's clear that Amazon did think about XSS -- in the context of the browser. The debugCmd isn't available there. It's also clear that tney didn't think about all the other potential interactions with the system. It's not the things you don't know that bite you -- it's the thing you know that isn't so.
- Genmutant 15y agoI don't think Amazon has that much of a problem with the jailbreaks. I can't see how they would loose any money with it, and who uses them, knows that he can potentially brick the device.
- tspiteri 15y agoAs I see it, Amazon does have an interest in users not jailbreaking or bricking devices. They sell the devices at around cost to sell content. If a user jailbreaks a device, Amazon loses the tight control on where the content comes from, and if a user bricks a device, Amazon sells no content for that device at all.
- Genmutant 15y agoIn what way have they tight control over the content? You can load whatever you want over usb or wlan on the device.
- non123 15y agoHave you ever used a Kindle? You can put any book on it that is either PDF, mobi and a few other formats.
- tspiteri 15y agoYes, I do use a Kindle. All content I read on it was from Amazon. I know I can get content from somewhere else, but it will never be as convenient as getting it from Amazon.
- slig 15y agoIt's almost as convenient. You just have to download the file, and email it at your @(free.)kindle.com address. No cables, no big and heavy Java app to do file conversion, nothing.
- burgerbrain 15y agoYou or others may be interested in the "Magic Catalog" for Project Gutenberg. It's basically an ebook that you put onto your kindle that is a catalog of all the books on Project Gutenberg. You select any that you want and it automagically grabs them for you. After the initial effort investment (not that hard, since you can download it with the kindle's browser), I would say it's actually easier.
- tspiteri 15y agoThank you. That is indeed a nice way to get Project Gutenberg books.
- pnathan 15y agoErm. I have a Kindle DX, and if I download a PDF or Mobi, I can copy and paste it into the Kindle when it's connected. It's only a few more seconds than an Amazon buy.
- raphman 15y agoI guess, this would mean that a user can remove the ads from the ad-supported Kindle and save $40. This would mean that Amazon loses almost 30% in revenue each time they sell a Kindle Touch that is to be jailbroken.
- ckorhonen 15y agoI suspect the vast majority of customers don't care about the ads, and wouldn't expect them to pay to remove them in the first place. As far as ad-supported services go, the Kindle is actually quite good - totally unobtrusive, and you actually get some good offers, things like $5 off a $10 purchase.
- burgerbrain 15y agoAlthough the other "special offer" kindles have been jailbroken for some time, the kindle hacking community seems to be doing a good job of refusing to (at least for the relative layman) disable advertisements on them or enable any sort of tethering over 3g.
- esrauch 15y agoYou must have a certain website or subset of the community in mind. I actually got a Kindle 3 a couple months ago and the majority of the discussion that I could find about homebrew on the device was centered around removing the ads. I browsed 4 or 5 forums before deciding it was a lost cause. In fact, I wasn't even really able to find anything other than removing the ads and changing the screensaver as what you can do after your kindle is jailbroken.
- dangrossman 15y agoThe ads are so good that I'd choose an ad-supported kindle over an ad-free one at the same price point. Virtually all my shopping, aside from perishable foods, can be done at Amazon.com -- I've bought toilet paper, ketchup, packing supplies, cereal, etc. there -- that the offers will probably pay for the device.
- notatoad 15y agowhether they are looking the other way on jailbreaks or not, this sounds like a rather serious security problem. it's nice that i can run my own code on the device, but that also means that any mp3 files i download off the internet can run other, potentially malicious code.
- ghshephard 15y agoThankfully, this is the Kindle Touch, not the Kindle Fire. I"m guessing maybe 1% of people will use their Kindle Touch as an MP3 player, so this is mostly positive news - A jailbreak vector with little damage seen in the wild - the potential is their, it's just unlikely to be leveraged.
- bvdbijl 15y agoIt's more like XMS really, cross media scripting
- hmottestad 15y agoThat's great. As a summary: This guy found out that most of the GUI is HTML and Javascript. Some of the JS functions are mapped to OS calls, including one that will run any script as root (nativeBridge.dbgCmd();). This function is disabled in the browser, so it needs to be called from somewhere else. So he injects the function call into the ID3 tag of an MP3 file and plays the file on the native mp3 player which has a html gui for displaying the id3 tag info :) Finally he uses this exploit to enable ssh and install a certificate so he can connect to it.
- djb_hackernews 15y agoAnd this is the "payload": <button type="button" style="width:100%;height:100%" onclick="javascript:nativeBridge.dbgCmd('dd if=/mnt/us/music/jailbreak.mp3 of=/tmp/payload.sh bs=1 skip=25');nativeBridge.dbgCmd('chmod +x /tmp/payload.sh');nativeBridge.dbgCmd('sh /tmp/payload.sh');">Press to Jailbreak!</button>
- malnourish 15y agoWhat a great, simple (not to diminish in any way), hack. Why did Amazon allow a call that always runs as root? Is it necessity, oversight, or something else?
- lmm 15y agodbgCmd() suggests it was originally there for debugging. It runs as root because the UI runs as root, AIUI.
- dsl 15y agotl;dr: Don't play MP3s from untrusted sources until Amazon has a fix. (this is remote code execution, don't let the term "jailbreaking" candy coat it)
- burgerbrain 15y agoI believe this is technically local code execution, not remote. It's not like you can do this unless you have access to the device (the browser apparently doesn't allow it, and I can't imagine you can remotely make the device play an MP3).
- vasco 15y agoFrom what I understood you can download a song thinking its new hottest club hit and have your Kindle bricked.
- burgerbrain 15y agoAssuming arbitrary code can brick it, yes. That is my impression. That's still not "remote" though.
- SquareWheel 15y agoIt's an exploit and it will get fixed, but I'd like to see what people can do with root access. Will we see vanilla Android ports?
- sumukh1 15y agoOn the e-ink screen? I don't think that will turn out too well.
- icebraining 15y agoThat's exactly what the Nook Touch is, though: Android 2.1 on an e-ink screen.
- teilo 15y agoKindle Touch doesn't run Android. You are thinking of the Fire.
- SquareWheel 15y agoOh boy, you're right. I replaced the word "Touch" with "Fire" in my mind while reading the article and didn't notice even once. My apologies.
- est 15y ago> but I'd like to see what people can do with root access. epub support!
- esrauch 15y agoAll of the previous kindles have been rooted and I don't know of any homebrew to support epub on Kindle 3.
- Sidnicious 15y agoFWIW, I noticed some images loading in the description overlay in a podcast I was listening to on my iPhone. So, it looks like iOS devices render HTML content in ID3 tags. I've been meaning to explore whether they run JavaScript too but haven't gotten around to it yet.