News for hackers. Stuff that matters.
Re:A specific network name can completely disable Wi-Fi on y... by perihelions on Saturday June 19, 2021 @05:50PM (#27564789)
"The Wi-Fi subsystem probably passes the Wi-Fi network name (SSID) unsanitized to some internal library that is performing string formatting, which in turn causes an arbitrary memory write and buffer overflow. This will lead to memory corruption and the iOS watchdog will kill the process, hence effectively disabling Wi-Fi for the user."

This sounds like a significant security bug?

Re:A specific network name can completely disable Wi-Fi on y... by tinus_hn on Saturday June 19, 2021 @06:12PM (#27564966)
It’s pretty significant but a strong mitigating factor is that you have to join the network manually before this happens.
Re:A specific network name can completely disable Wi-Fi on y... by OJFord on Saturday June 19, 2021 @08:30PM (#27565876)
Surely more of a mitigating factor is that there's nothing to 'do' with it afterwards? It's easy to get people to (try to) join your WiFi network, but then what? Without some serious secondary effect I'd guess it's probably not getting desperately quick attention or a big payout.
Re:A specific network name can completely disable Wi-Fi on y... by swiley on Saturday June 19, 2021 @09:31PM (#27566222)
Format strings can do arbitrarily memory reads/writes so this will probably quickly turn into an RCE bug (it likely already has but we won't hear for another 90 days unless someone very based decides to tell us.)
Re:A specific network name can completely disable Wi-Fi on y... by _kbh_ on Sunday June 20, 2021 @12:34AM (#27567095)
This was true maybe 10ish years ago ago but with ASLR, PAC, stack cookies and other mitigations it is now much harder to turn even a legitimate vulnerability (like a trivial buffer overflow) into actual RCE. Theres every likelihood that this isn't actually exploitable, on the other hand it might be, we will have to wait and see.
Re:A specific network name can completely disable Wi-Fi on y... by gruez on Saturday June 19, 2021 @10:58PM (#27566727)
I get reads, but writes? How do you manage that? I'm presuming they're using the safe versions of sprintf but in case they're not, they probably have bigger problems.
Re:A specific network name can completely disable Wi-Fi on y... by Gaelan on Saturday June 19, 2021 @11:34PM (#27566869)
I think printf has a %n specifier that writes the number of characters so far to a pointer passed in.
Re:A specific network name can completely disable Wi-Fi on y... by gpm on Saturday June 19, 2021 @09:18PM (#27566142)
With arbitrary memory writes, and an apparently reliable form of persistence across reboots, there's a pretty good chance there is something to do with it afterwards (RCE, leading to control of wherever this runs)... it sounds like that part just hasn't been figured out yet.
Re:A specific network name can completely disable Wi-Fi on y... by throayobviousl on Saturday June 19, 2021 @10:52PM (#27566685)
Seems like an annoying DoS bug for sure. This is why having an actually secure watchdog is so nice. I still don't understand why people jailbreak in 2021.
Re:A specific network name can completely disable Wi-Fi on y... by cable2600 on Sunday June 20, 2021 @12:41AM (#27567125)
So they can sideload apps not approved by the Apple App store. A feature that Android phones have when developer mode is on.
Re:A specific network name can completely disable Wi-Fi on y... by dawnerd on Sunday June 20, 2021 @12:42AM (#27567131)
Can do that without a jailbreak though https://altstore.io/
Re:A specific network name can completely disable Wi-Fi on y... by webmobdev on Sunday June 20, 2021 @05:39AM (#27568517)
You have to trust them with your Apple ID (from the FAQº):

Why do you need my Apple ID?

Apple allows anyone with an Apple ID to install apps they’ve built themselves onto their devices for testing. AltStore uses your Apple ID to communicate with Apple's servers on your behalf and perform the necessary steps to prepare your account for installing apps onto your device.

Do you save or send my Apple ID to anyone besides Apple?

Your Apple ID is never sent to anyone but Apple. AltStore does save your Apple ID so it can refresh apps for you automatically, but it is stored securely in the device’s keychain. AltServer does not save your Apple ID, and requires you to enter your credentials each time.

(Ofcourse, Jailbreak isn't necessarily more secure - you have no idea if they inject a malware into your device during the process.)

º https://altstore.io/faq/