543 points · by grepular · 12y ago · 224 comments
https://play.google.com/store/apps/details?id=org.mozilla.fi...
https://www.mozilla.org/en-US/firefox/partners/#android
They make it for arm and x86 android.
They used to make a windows version but sadly stopped that build.
Big jump to this conclusion but I'm more inclined to trust Microsoft at the moment as they have a better reputation for lifetime (unlike Android), have a very public security process and good industry comms and the devices are proven usable if not faster after recent updates (unlike iOS which starts to be terribly limiting performance-wise). Plus they're dirt cheap.
I even asked the sales representative if it would be kept up to date (knowing I couldn't trust them, but was looking for any extra assurance), and they said yes.
Right now it's at 4.3 and wont upgrade...
CyanogenMod doesn't have any way to distinguish which phones are currently receiving security fixes in a timely manner and which are not; nor do they have any list of security advisories covering packages they distribute (go look at any notable desktop/server Linux distro — they all have public lists of security advisories and documentation of what release fixes them).
To my knowledge there is no Android distribution that has anywhere near the cohesive security story — and they're all miles behind any desktop OS.
Dear Galaxy Nexus users... It's time to let go.
Also, they say 2 years' support. If you look at the phone recycling business, there is 4-5 years life in a franken-handset shipped abroad.
You're right though about carriers. I always buy non-carrier locked devices here in the UK for that precise reason. Nokia sell "country variant" devices which are usually updated first.
1. iPhone 2. Custom Rom and you're on your own.
You can register for the Preview for Developers program [1] and get timely OS updates regardless of the carrier.
With the 8x the lack of updates is an HTC issue tho as far as I know. They look to roll out 8.1 on some of the 8Xs in October [2].
If you would like to test on your device/browser, you can on ejj.io/SOP.php . If you click on the button and you see an alert box, you're vulnerable (I doubt many on HN will....)
Many other browser's also seem to be vulnerable. So if you use something else best be safe and check yourself
why forbid javascript: and some other thing that you know know, if you know for sure you only want http or https?
always allow what you know for sure how to handle instead of denying what you think you know that you don't want.
My guess would be that the URL is being validated with code which relies on null-terminated strings, and it's being processed/executed with code that uses a separate length value.
The empty string "" will pass a same-origin check as it refers to the current page. "\0javascript:alert()" looks like the empty string to validation code expecting null-terminated strings. However, it's a valid URL and is executed as JavaScript by code that knows the true length.
One easy way this could happen is if the same-origin check happens in C++ (eg. WebKit) and the URL fetch happens in Java.
The same problem can happen in reverse and has before. Java had a file path vulnerability where Java code would see the full path and the OS calls Java passed to would only process up to the first null. This opened up bypasses in application logic designed to validate paths.
I doubt "\0javascript" is a valid URI scheme since they must begin with a letter, and any code that uses 0-terminated strings would just see it as an empty string. The fact that the \0 somehow seems to be ignored completely is most disturbing.
Edit: I double-checked the spec ( http://www.w3.org/TR/html5/browsers.html#dom-open ) just to make sure there's no weird "skip nulls" behaviour, and there isn't.
Also, damn this thing is slow and tiny compared to my current phone.
Tried again with a Galaxy Nexus on 4.3. Sure enough, it duplicates fine on the stock browser, and works correctly in Chrome.
I think the vuln probably just had not been introduced at that time, but I obviously can't be certain without digging through the git log (and even then...all I can do is corroborate commits with release dates).
Edit: since 4.4 [https://developer.chrome.com/multidevice/webview/overview]
TomPod, the creators of InBrowser, here.
We're unable to reproduce this error on a oneplus and a HTC M8 running the latest version of InBrowser. But rest assured, we'll check this with our suite of devices and Android version during the day.
Since version 2.11 (43), 2014-03-09 we limit the usage of JavaScript: due to another bug in Android. Hopefully it'll fix this issue as well. So please make sure that you're on latest version from Google Play.
If we can fix this on our side we'll push a fix asap. If not, we unfortunately need to wait for Google to address this. We'll post any updates on this issue at @tompodapps.
Thanks for reporting it!
Expected is no alert box
I'm on a slightly older phone, but I actually removed Chrome from it not long ago. I started having problems with updating apps due to insufficient space, and while I have a fair amount of crap installed, I also have ~2.5GB of "Phone" storage for apps so I started investigating (this is separate from "sdcard" data storage which is ~8GB). Turns out Chrome, at least on the HTC Amaze 4G with 4.0.3, takes up about 250MB - my largest installed app by about a factor of 4 (next largest was ~80MB). This was not cache or data, this was the app itself.
I don't know what all they've moved into there as part of their push to cripple Android except as a host for the "Google Play Ecosystem," but crap like this is not endearing.
I recognize that there are a bunch of features now that I get to enjoy, but now I have to choose which ones I want to keep.
When I switched, 20MB was a big app. Now I have at least 30 apps that are bigger. Chrome in particular seems bogus. The desktop version isn't even this big.
Chrome : 211MB
Facebook: 116MB
Google search: 70MB
Google+: 65MB
Amazon: 60MB
Mantano Reader: 54MB
Dropbox: 50MB
Google Play services: 50MB
Google Text-to-speach engine: 45MB
Hangouts: 35MB
t-mobile my account: 33MB
SwitftKey: 33MB
Kindle: 30MB
Evernote: 30MB
BaconReader: 28MB
twitter: 25MB
Hulu: 25MB
Google Maps: 24MB
Google Drive: 24MB
<...>
I do recognize that these apps balance the data differently. Chrome is 189MB app, and facebook is 80MB data..... And after the reinstall it shows up as 65MB of app.
app space is the only reason i generated more garbage in the world even though my current device only lacked the software to use the memory i had available.
/s
I don't see why shiny progress should be held up because you can't be arsed keeping up with new generations of tech. If you don't like it, go install a rom and some of the many many many alternate applications which keep sizes small.
Mobile phones began, much like desktops began, extremely limited. We are simply seeing the same thing happen, we're now getting up to sizes of around 32 gb, yes, it happened much faster this time, and that may be why many feel the pinch much more - I'm sorry for that - however it is the price to pay for being an early adopter like yourself.
Yet thankfully,it has also now reached a level where it is now almost impossible to fill with application data. Storage and processing may continue to increase but I highly doubt you will feel quite the same pain of running low on space with nothing but chrome and facebook installed.
Take a look at the ROM situation for the HTC Ruby platform, aka the Amaze, aka the only phone in its product line. Despite what Wikipedia says, there isn't a huge mass of aftermarket ROMs because the phone itself had such a relatively small distribution and was discontinued.
I'm no browser snob -- I'm perfectly happy to use the stock AOSP browser even though it's got some stuff I don't like about it -- but I really can't understand how anybody uses Chrome for Android at all.
I suppose it's probably time to re-try-out some of the 3rd party browsers again.
I haven't tried Chrome, but I see this in CyanogenMod's stock browser (probably close to AOSP) and Firefox. In Firefox's case at least, my research pointed to "font boosting" being the cause of increasing/decreasing, but I haven't found a good fix.
online they just shutdown the old system. offline now they leave holes and announce them when they want you to upgrade. "for security"
https://android.googlesource.com/platform/external/webkit/+/... https://android.googlesource.com/platform/external/webkit/+/...
These are in the AOSP branches for jb-dev, jb-mr1-dev, jb-mr1.1-dev, and jb-mr2-dev.
[1] http://www.zdnet.com/android-fragmentation-turning-devices-i...
Note that if Apple had a similar vulnerability, you likely couldn't work around it by using an alternative browser, because all browsers are required to use Safari's rendering engine.
Is this not the app you're talking about?
I would guess a great many Android users (if not the majority of Android users) are not using Chrome.
In fact, that's exactly the case according to this: http://www.netmarketshare.com
Chrome has made some strides this year, but the Android Browser still leads by a point. That'll probably change next month or two I'd guess. But unless I'm entirely off base and talking about the wrong thing, I think your comment is very misleading.
If this happened with Safari, you'd likely see a patch pretty quickly, and it would be available to almost everyone at the same time.
(x) Maybe. Assuming someone bothers to incorporate them into to the OS update for your device and they make it through the hurdles between the engineer and OTA update certification.
Even if I were to go back to the old Internet app instead of Chrome, this bug is irrelevant to me since I use an app for GMail, Twitter, Facebook and anything else important. I can't remember the last time I used the mobile browser for anything that matters.
s/aren't/choose not to/
This is simply bad management – we're talking, what, a single engineer to backport critical fixes and some testing support. Contrast that against the damage this has done to Android's competitiveness – even the non-nerds I know talk about how they bought an iOS device because Android never gets updates – and increases the likelihood that they'll have a major security problem at some point when someone creates widespread exploit affecting all of those abandoned phones and the headlines talk about how many millions of people are at risk for a problem which was reported years ago.
The phone vendors and carriers had a large part in creating this problem but most of the reputation sticks to the platform and, as with the more general fragmentation problem, Google has been very slow to take it seriously.
My Android experience has been shit, and I'm really getting sick of it.
Admittedly, much or even most of the problem for me is the OEMs screwing things up and not sending out updates.
.. support is terrible on the Android side. Really terrible.
In my opinion if you're not going to buy a Nexus device or a Moto E/G/X then you might as well buy Apple. The Android One program will hopefully add more to that.
Most people don't have the ability to make an informed decision about a phones purchase (or they want to buy an iPhone or Nexus but they simply can't afford it).
I bought a Google Nexus at USD650 retail - a perfect counterexample to your advice.
I recommend iPhones to those who can afford it (purchase price, insurance, screen replacements etc.).
I recommend Huawei Y310/320/330 for those who don't have much.
In between there are too many other factors to make a straight recommendation (e.g. buy second hand iPhone versus a Moto G).
I'd love to buy an iPhone but I want to run Android software so Android it is.
Buy a Windows Phone, then.
The GNU/Linux terminology is actually quite relevant here, seeing as Android is Linux, but not GNU/Linux. Hell, Android's libc comes from OpenBSD, so...
Can I do that with an iPhone? Maybe, but probably have to put up with a lot of Apple garbage, trying to make things "easy" for non-technical people and/or keep you in their ecosystem.
I also like that Android uses Linux because I think the proliferation of Linux is good for me. (For various reasons, not that I have a financial stake in it, although I do indirectly due to my technical areas of competence.)
In that sense, I prefer that it uses Linux marginally over, say, using FreeBSD, which I would still prefer infinitely more than a proprietary OS.
I do not follow android closely, but this refers to the browser only, right?
(In the Chromium WebView FAQ they say they're working on fixing it, but there are major difficulties. https://developer.chrome.com/multidevice/webview/overview)
> While the AOSP browser has "been killed off"...
Luckily since most vital user info is going to be in apps this doesn't have nearly the same impact as it would on desktop, but it does represent yet another demonstration that having the web as a sort of super-platform-on-a-platform doubles your attack surface.
Android really is comparable to 90s era Windows, in every possible sense. For better or worse Chrome OS is clearly being positioned as the NT equivalent as well, but it's hard to see how you can recreate the functionality of Android without adopting the flaws too.
But still a browser that was created by Google and was bundled with the OS until 12 months ago, never mind how long it takes OEMs to roll it out. Android <=4.3 accounts for 75% of Android users:
https://developer.android.com/about/dashboards/index.html?ut...
Just because Google decided not to support it any more doesn't mean they shouldn't. Pointing out Firefox and Opera is all very well, but this is the default browser on Android <=4.3, and very few users explore alternative browsers (Chrome being the exception, to a point).
It's also the browser engine used in embedded webviews, don't forget.
Which people? I'll grant that Chrome is an exception, given that it's bundled, but I've never seen usage number of other alternative Android browsers hit any meaningful numbers.
http://gs.statcounter.com/#mobile_browser-ww-monthly-201308-...
(Of course, these devices will still be counted by those touting Android's market share. Surprise surprise)
Wait, what ? I'm not an android user, but I am a chrome user on all of my desktops ... can someone enlighten me ? How is chrome not a browser supported by google ?
google logic. ...or better yet, san francisco dev logic
Recalls happen in older cars still. Maybe since it is 2014, we think about a similar idea with software involving millions of users.
https://android.googlesource.com/platform/frameworks/base/+/...
Especially with a method called "public static class IllegalCharacterValueSanitizer".
Too bad it uses quite a few resources and may be too heavy for low-end phones.
Opera Classic OK
Opera Mini OK
Tint Vulnerable
Default Vulnerable
Opera has usually worked OK, though sometimes rendering is a bit off. Better than the default browser, especially now.That said, Android 4.4 and later use Chromium for their WebViews, the source for which is developed along with Chrome as a part of the Chromium project - it does not live in AOSP.
Presumably the stock browser that is in AOSP 4.4+ wraps Chromium, which more or less means the AOSP browser is Chrome...but not the other way around. :)
------ From a UX perspective, we should really try to fix this somehow. Reddit and ycombinator look terrible in our browser right now. Some examples:
ycombinator http://cl.ly/0l2f2v0p3v0e290J0A0W
Reddit http://cl.ly/1M452m2a2D3D04070S1I
These pages look perfectly fine in stock Browser -- they are a little wonky in Chrome but still better than us ------
https://bugzilla.mozilla.org/show_bug.cgi?id=707195#c27
That was 2012-05-01.
2) HN uses HTML straight out of 90s (tables nested three deep, spacer images to indent threads) so I don't mind them not focusing on trying to salvage it. Also from the comments thread: "to fix this we'd want to know the widths of the containers of all the text, which requires doing layout on the whole subtree (or at least a decent part of it), but we need to know the inflation numbers before we do layout. (It's probably doable by constructing reflow states for the entire subtree as we walk it, but that would be a significant performance hit that I don't think we want to take.)" Don't abuse tables and you won't have a problem.
Why? Chrome isn't open source, if you care about that kind of thing. And personal preference also.
has extensions.
allows you to control the web, where chrome allows google to control the web for you (e.g. no way to disable referrer for one thing)
There's absolutely NO reason you should have them on, and I've been surfing the web just fine this way for 15 years.
And if your banking app with its embedded webview has its site compromised, you're already fucked without even opening the app.