504 points · by frankjr · 5y ago · 348 comments
Though I suppose if this bug can be used for a jailbreak there may be some people who'd actively want to stay on 14.7 as well. It's too bad on iOS Apple forces people to choose between security and control of their own systems and doesn't at least allow a purchase-time option to have the ability to load ones own root signing certificate.
That exactly why the jailbreak scene has no incentive to share any exploit with Apple and is obfuscating everything. That's not great for security but that's a direct consequence of Apple's policies.
Both are vulnerabilities in the sandboxing.
Come to think of it, maybe that could be the basis of a right-to-repair law: companies which sell hardware products that restrict functionality or access to those who know some secret value must divulge those secrets to the device owner upon request at the time of purchase.
The only issue I can think of with a law like that is that it'd make DRM significantly less effective, though IMO that's not necessarily a bad thing.
Just a shame it won’t be in iOS 15.
All tall people are human. Not all humans are tall.
I own my device without the need to root it, every feature in the brochure is available to me as a user.
I understand that around the 90s owning anything with an OS also implied the ability to mess with the box of bolts and circuits that run the OS but that’s no longer the case. At least not when it comes to phones.
I mean sure maybe you want a fancy device to play with … get a PCB and do whatever you want with it while your phone is updating.
The manufacturer has no say on the usage, simple as that. That there are better ways to tinker is irrelevant. It doesn't preclude the right of people to tinker with anything they own at their own convenience, including an iPhone if that's what they got.
My comment was specifically targeting the fact that jail breaking somehow encourages people to develop means of circumventing the security of devices. This is when this becomes dangerous - suddenly it has the potential to hurt unsuspecting users. Saying that the responsibility is with Apple (or Google) to make this possible feels like a straw man argument - their job is to earn money (no illusions there) and keep users safe, even if it means making it harder to tinker (which also helps them earn money)
Where does this end? Should all devices that have computers attached be capable of being 'rooted'?
You would not have the expectation if for example you purchased an MRI machine, that it should be able to emulate a Game Boy. A phone is also a special purpose computer; and the phone's software is designed to guarantee that those special purposes always work.
In my opinion this is the main thing that this root crowd does not understand; the iPhone is not a general purpose computing device. You should not have bought one if that's what you wanted. The market is full of general purpose computers that can make phone calls.
- Set a background wallpaper - Reply to SMS in a quick reply window (I still miss BiteSMS) - Create albums in Photos. - An "Android Like" (back then) quick toggle.
Nowdays all these features and more are part of iOS, but back then Jailbreaking let you do so many things that Apple hadn't gotten around to including in iOS.
I'd argue it still is.
I can't install a third party web browser that doesn't use WebKit.
I can't select alternative default apps to most apps bundled with the OS.
I still can't unlock the bootloader.
I still can't browse the entire filesystem.
People who espouse the virtues of jailbreaking on iOS tend to forget one big thing... the exploits that are used to jailbreak are also exploits used by malware creators to compromise the system.
On iPhone you don't have that option, and you have no way of knowing if your phone was compromised.
I'm not able to sideload iOS apps easily (apart from using AltStore), or downgrade apps at all. This becomes possible with a jailbreak.
Also, with a jailbreak, I own my data. iOS (Android too, I believe) actively prevents some data from being backed up or copied otherwise.
The primary area you see this is with applications which have flagged that data as sensitive so it won't be included on unecrypted backups (which includes iCloud). This is somewhat important for security — for example, you reasonably do not want TOTP seeds floating around invalidating your second factor security model — but it means you have a problem if an application you care about uses that feature in a way you don't anticipate.
Also with a jailbreak, other people own your data too. A jailbreak is an exploit. A hammer can be used to drive in a nail (jailbreak) or it can be used to smash windows (malware.) Same tool in the end.
The very act of jailbreaking is what keeps your system vulnerable to the same exploits used by malicious actors.
Regarding data, all user data on iOS is backed up either through iCloud and/or on your Mac.
Incorrect. It is still the case with nearly all Android phones. You can install any OS version, gain full permissions, mess with kernels, modules, frameworks, recoveries, ...
moreover, one of the critical vulnerabilities from a user's perspective is the network connections that a device makes, nominally on behalf of the user, but really on behalf of privacy-forsaking data harvesters like google and facebook (and even apple themselves, to a certain extent).
jailbreaking is one method users can (potentially) regain a modicum of control over their own private information as well as block exfiltration from exploited security vulnerabilities.
Apple provides APIs now on stock iOS to allow an app to use a “VPN profile” to implement a firewall blocking outbound connections, but without requiring a remote server (aka the app applies rules locally to outbound connections). The downside is you have to trust Apple to pass their own traffic through the app’s firewall unlike with a JB, but at least that covers the other examples you gave.
- reported by anonymous researcher
- if it is related, this would be the 2nd of 2 bugs that would need fixing. The first is the 0-click escape hatch from the Messages sandbox to calling functions on IOMobileFramebuffer
- there is only one bug listed for this release, and it is unlikely Apple would publicly flag #2 of 2 bugs was fixed, but not #1
- extremely tight timeframe from press reports of _a_ bug to a fix deployed, I'd like to think you could get a week turnaround on that, but...in practice, at BigCo, that timeframe would require moving heaven and earth, and yet still choosing to be irresponsible by skipping most of the gates on the release process
It's very possible Apple doesn't want to verify that Messages was compromised, particularly if they can blame everything on something obscure.
Whether something is a Messages vulnerability or “something obscure” is just marketing spin.
What’s the alternative? I’ve got a Pinephone coming in the mail — which I ordered precisely because of these sort of disagreements between me and Apple/Google — but I really doubt it’ll be useful for anything away from home (GPS, photos, etc).
I personally opted for an older Samsung flagship, LineageOS without G services, and my own cloud at home. And I'm not counting on this being sustainable to be honest. I might go more Stallman later, buy dumber devices with lots of tradeoffs or just give in to the zeitgeist, and buy the shiniest tracking chip.
Edit: Kudos for getting the Pine - putting the money where the mouth is something that has at least the potential to change.
[1] https://9to5mac.com/2020/06/19/apple-says-ios-13-is-now-runn...
[2] https://developer.apple.com/support/app-store/
[3] https://en.wikipedia.org/wiki/IOS_version_history#iOS_13_/_i...
1) it's really annoying to have your crap moved around without being asked
2) it's often the only way to retain control of your device.
https://nvd.nist.gov/vuln/detail/CVE-2011-0227
https://nvd.nist.gov/vuln/detail/CVE-2015-1097
https://nvd.nist.gov/vuln/detail/CVE-2015-5843
https://nvd.nist.gov/vuln/detail/CVE-2016-4654
The 0-days will continue to drop on a regular basis until OS vendors embrace widespread memory safety as something that's vitally important to more than just a handful of dissidents and journalists.
edit: parent comment previously said "Makes me wonder how secure iOS really is", which is what I was responding to.
Apple have created and embraced an entire language (Swift) around the idea that things like memory safety are important, but you cannot just rewrite an entire operating system overnight into a new language.
Swift is not (currently) a viable replacement for C.
I'm not saying they should rewrite the entire OS immediately, but: given the pace at which they're able to pump out new marketable features; the massive deployed base of iOS devices; and the sensitivity of the data that is kept on those devices, I would argue that they damn well better have a long-term plan to replace their bug-ridden kernel and other important low-level systems, with code that isn't vulnerable to classes of bugs that have been solved for decades and are frequently exploited in the wild. And I'm not just talking about Apple here.
[1] https://support.apple.com/guide/security/memory-safe-iboot-i...
Presumably because they also said
> iOS is hundreds of millions of lines of C and C++
and Apple did write a whole new operating system that way not so long ago despite the well-known safety issues of doing so. If any company in the world has the resources to incrementally rewrite an entire operating system with huge numbers of active users today so that the attack surface becomes progressively smaller, it's Apple.
Why would that be vitally important? They are a business selling lifestyle and technology. For them vitally important is staying in a profitable business. I think we can agree that we're past the point where we can believe that these vulnerabilities threaten that. These vulns mean to them, I think, only risk. Mitigation will come in a form of some patches, and some PR. And the world will go on, continuing to circulate these phones.
It's important in the same way that phasing out ICE cars is important -- important for society, but unlikely to happen in a timely manner without regulation.
Here's a fun strawman: the EU or California could announce limits on the sale of products relative to the number of lines of memory-unsafe code used to build them, starting in a few years.
So iOS is very unlikely to be "hundreds of millions of lines of C and C++".
The complexity is not the same. My grandfather is not questionning my ability to fix his computer that “breaks” once in a while just because I already fixed it the last time.
Also the software in question is a complicated subsystem to write on a platform that’s guaranteed to get many eyeballs on. So the fact that those CVEs span roughly once per year might also be a demonstration that there are relatively few bugs (if we knew the number of people and time spent researching vs CVEs published then maybe we’d have a more meaningful statistic).
CVEs do also demonstrate that active research is happening. There are plenty of common libraries out there that never get audited. Does fewer CVEs mean they’re more secure? Or does it just mean that nobody has checked?
Thus on its own, that data is pretty meaningless in terms of deriving a trend.
The reason the LoC comparison was made is because measuring lines of code doesn’t tell you how long a developer has spent debugging, reading documentation, or doing other research required. It doesn’t tell you how secure, performant, or even buggy the code is. All it tells you is the number of lines written and literally nothing more can be derived from that figure. Likewise with CVEs submitted.
However I have written a more in-depth reply about why counting CVEs is meaningless here:
Display controllers are complicated (and Apple ones are especially so, with all their fancy features).
Personally, the last thing I’ve got time to worry about is what’s going on in my phone. So I’ve got an iPhone and use basic common sense when choosing what to run on it.
Yes, this is HN but it sure does get old seeing the inevitable complaints about Apple. I’ve been around long enough to know what happens to Apple when they aren’t selling what people want. That isn’t the case today. Maybe get over it?
https://arstechnica.com/gadgets/2020/12/iphone-zero-click-wi...
https://arstechnica.com/information-technology/2020/12/zero-...
https://arstechnica.com/gadgets/2021/07/clickless-exploits-f...
etc., etc.
I'm required to use the devices Apple creates, because work. Once your product is required to be in the hands of many people the idea of "Vote with Money!" is objectively, demonstrably, false. You might as well tell working class people to just walk to work. It affects me. So when someone supports a company like Apple, against all evidence, I'm inclined to further critisize Apple and its users whom advocate against themselves. I'm even more open to harsher regulations on Apple, even. Similiar to how regulations on Gambling are a necessity to prevent heavily negative socioeconomic effects.
Unfortunately, all my friends and family use iMessage and Facetime, and Apple makes that impossible to access on an Android phone.
Also, Apple buys up huge amounts of the supply chain such that their screens, cameras, etc are better than basically anyone else's, and if I were to switch I'd loose access to every app I've bought over the past decade. (If not for Requiem and TunesKit, I'd loose access to all my movies and TV shows too.)
Care to provide a source? Last I heard, their screens are made by Samsung and LG, and the camera (sensors) by Sony and Omnivision. None of these companies are owned by Apple.
You get to choose your phone platform. The implications there include whether or not you get exclusive access to Apple specific features like iMessage and FaceTime. They also include the cost of your existing collection of purchased apps and some DRMed media. You also have to pick your phone from the choices and features of the chosen platform's available devices.
You still have to choose "what you want" and then "Vote with your $CURRENCY." Your "wants" obviously include not just the OS/ecosystem design choices, but your financial investment into your incumbent platform, the convenience of sticking with what you know, your desires/requirements around screens and cameras.
You can totally trade off some of those other requirement over "platform security" or any other differences between iOS and Android. But don't fool yourself that you consider privacy to be critically important, if you're willing to forego it in favour of keeping your hundred or so bucks worth of Android apps or video subscriptions...
Apple has never been known to have the fastest/best devices on a feature-comparison point by point. There are better screens, cameras, speakers in many many Android devices.
For real?
If the only information I could ever get about products was positive marketing from the creators of said products I don't understand how I could possibly navigate purchasing decisions as a consumer. Open public discourse about the pros and cons of various products is crucial to a functioning market.
Obviously if you already own an Apple device maybe you read announcements on their support portal, but that doesn't really help (it is great that Apple announce this stuff though).
This doesn't mean much. Other companies go through tough periods too, Windows Me, AMD *dozer, etc..
Edit: https://en.wikipedia.org/wiki/Currency_sign_(typography)
See, even Groundhog Day-esque arguments about Apple can turn up hidden gems. Let’s do this every day!
https://twitter.com/b1n4r1b01/status/1419734027565617165
Also (writeup):
https://twitter.com/AmarSaar/status/1419770084780875779?s=20
As a former pentester, that's precisely the opposite of the correct thing to do. tptacek could phrase this more eloquently, but pentesters do not try to weaponize exploits. The whole point of exploiting is to demonstrate that a vuln exists. Once that demonstration is complete, weaponization serves no purpose.
(No purpose for protecting users, anyway, which is the whole point of pentesting.)
I'm surprised no one seems to care. Maybe times are changing.
I didn't realize that there might be a difference in the awarded bounty level. That's... unfortunate for them. As you can see here, he was sitting on this for some time.
Does it run code as root? Write kernel memory?
EDIT: source: https://saaramar.github.io/IOMobileFrameBuffer_LPE_POC/
I also believe Apple is doing some kind of rate limiting. Whenever I’ve upgraded iOS or MacOS on day one the download is painfully slow on my gigabit connection.
The person who buys the phone is one customer. Another customer is the cell phone networks, who don't much want to use their airtime to distribute OS patches, which use a lot of bandwidth but are almost entirely invisible to users.
It should probably have to be turned on explicitly, because a lot of people are still on spendy OTA plans, but it should be an option.
Battery crapping out is still a major taboo with iOS updates, I believe.
For this particular update, my iPhone downloaded over 100 Mb and MacBook over 1 Gb.
https://support.apple.com/guide/mac-help/what-is-content-cac...
It could be done in a p2p way like windows updates. By default they will share update files to other devices on the local network and can also work with other devices over the internet.
A bunch of plugged in iphones on wifi would be perfectly capable of distributing update files.
Data transfer isn’t a finite resource like oil or gas.
This also ignores that not everyone has stellar connection speeds, and that some people -do- have bandwidth caps (also, let's ignore that people are often mobile). Developers really need to stop making assumptions about people's hardware or internet speeds... and just do their jobs and make efficient designs. Maybe one day everyone will have super beefy machines on fiber optic networks with 10gb nics, but that's not the reality as of now.
If a patch needs to be 2gb, then so be it. But if it could be 100mb, then that's certainly better and something to strive for.
It absolutely is for many people. Not everyone has unlimited services. Even on fixed line services many are limited.
Clearly you haven't seen those crappy limited data ISP contracts floating around. It's an issue for some people.
Apple is known for providing ZERO official guidance on the lifecycle of security updates for older versions. It really looks like they're trending towards an iOS model where there's no concept of support for anything but the latest version. (The one exception is that older iOS devices stuck on iOS 12 have still been receiving updates)
https://arkadiyt.com/2021/07/25/scanning-your-iphone-for-nso...
>You might have also noticed the “Encrypt local backup” checkbox. MVT only operates on decrypted backups, so there’s no point in encrypting your backup here and immediately decrypting it to scan it - just create an unencrypted backup and delete it after you’re done.
You should still do an encrypted backup even if you're going to immediately decrypt it for MVT. An encrypted backup contains more complete data; it's closer to a filesystem dump. The MVT docs actually explicitly recommend this, too:
>If you want to have a more accurate detection, ensure that the encrypted backup option is activated and choose a secure password for the backup.
If it's a remote exploit I'm going to be telling everyone I know to update ASAP, but otherwise seems alright to let the regular auto-update schedule do it for them.
I'm updating right now just to be sure.
int main(){ io_service_t s = IOServiceGetMatchingService(0, IOServiceMatching("AppleCLCD")); io_connect_t c; IOServiceOpen(s,mach_task_self(),0,&c); uint64_t a[1] = {0xFFFFFFFF}; uint64_t b[1] = {0}; uint32_t o = 1; IOConnectCallScalarMethod(c,83,a,1,b,&o); }
>Make sure you have "http://com.apple.private.allow-explicit-graphics-priority" entitlement and IOKit headers imported.
>Patch for this bug was released with iOS 14.7.1 less than 2 hours ago. Might be useful for a jailbreak but not sure due to the entitlement check.
iOS: Never ending zero days but you get an update for every device in the last 7-10 years to fix it.
Android: A more secure OS especially as they integrate more components using rust. But if your device is older than 2 years, you won't receive any security fixes.
So depending on your security model it changes what you should pick. If you are a high target individual or someone who upgrades their phone every year, Android is the more secure option.
If you are the average person who is not being hit with state level attacks, iOS is the most secure option.
I don't have any actual proof but my gut feeling is the linux kernel is better tested and has better security hardening than the ios internals.
Can’t say for sure that the exploitable code ever existed on that device. Like Win10 0-days not being an issue for Windows 7. But…
Yea, I wouldn’t bet on it either way.
I'm still on 14.5.1 and it shows as a 922.4MB download.
And iOS wants a Wi-Fi connection to download an OS update. Without Wi-Fi you couldn't update, even if you wanted to.
They seem to have forgotten to mention iPhone SE which also gets iOS 14