• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

Major security flaw in iOS and OSX, be sure to update to iOS 7.0.6 ASAP

Status
Not open for further replies.

GaimeGuy

Volunteer Deputy Campaign Director, Obama for America '16
Not exactly. You could rename "goto fail" to "goto exit" to remove the confusion; the problem occurs when that block is called with an error code of zero (which is what the second goto does). In other words, when fail is called when there is no failure, it succeeds, bypassing further checks.

Apple's real fail here is not asserting that err is non-zero in the fail block, which would ensure fail is only called on error (and otherwise warn or crash), and would have caught the problem at virtually no cost.

Seems like a bad design if they need to cache the error codes in a member variable if you ask me.
 

Cth

Member
Any word on how iOS 7 runs on 2nd gen iPads? I never upgraded from iOS 5 after all the problems iOS 6 were giving users.
 
I'm trying to download the update but the estimated download time is 60-70 minutes and it always fails because my Macbook Air 2013 has Wi-fi connectivity issues for which Apple STILL HASN'T MADE A PATCH

I have to restart the download from scratch every ten minutes
 

leadbelly

Banned
Yes. Depending on how far down the rabbit hole you want to go:

1. NSA have not exploited the flaw.
2. NSA found the flaw and exploited it.
3. NSA had a mole at Apple that purposely put in the flaw.
4. Apple consciously put in the flaw for the NSA.

They've still got DROPOUT JEEP. It will always work, always... apparently.
 

Cth

Member
Pretty mediocre. iPad is somewhat sluggish since iOS7, I'm not a fan.

Hrm.. decisions, decisions..

I've been putting off upgrading for performance issues, and with more apps requiring 6/7 and now this, I might just go ahead and upgrade and deal with the sluggishness.

Thanks!
 

whitehawk

Banned
BhEuZKmCcAAcPAS.png


Brackets.
Can someone explain the problem to someone who doesn't program?
 

braves01

Banned
So if I have an iPhone 4, I'm forced to update my phone to a newer version that will kill my performance or live with no security

Fuck
 

SRG01

Member
Can someone explain the problem to someone who doesn't program?

It enters fail: before hitting the conditional, which will always return true.

So if I have an iPhone 4, I'm forced to update my phone to a newer version that will kill my performance or live with no security

Fuck

Which iOS are you on? iOS 6 should be updated to 6.1.6. If you're <5, you're okay.

edit: For those of you just joining us, please use https://gotofail.com/ to see if your system is compromised. Chrome is not affected because it uses its own verification system.
 

PFD

Member
Hrm.. decisions, decisions..

I've been putting off upgrading for performance issues, and with more apps requiring 6/7 and now this, I might just go ahead and upgrade and deal with the sluggishness.

Thanks!

If you're still on iOS 5 this security issue does not affect you.

my iPhone hangs on Checking for Update. goddamn it apple it is because i'm jailbroken isn't it

Yes, actually. The jailbreak intentionally disables over-the-air update functionality. You need to update through iTunes.

Which iOS are you on? iOS 6 should be updated to 6.1.6. If you're <5, you're okay.

Only if you have a 3GS/iPod Touch 4G. Other devices, like the iPhone 4, can only update to iOS 7, as Apple won't sign anything prior to that.
 
Can someone explain the problem to someone who doesn't program?

It should check to see if it fails and then go elsewhere if it does, and if not it continues the checks if it passes. However due to the placement of the second goto fail; even if the check passes it will always fail no matter what.
 

terrisus

Member
"Today we know that HTTPS haven't protected our credentials and privacy for 1 year, maybe more on OSX and iOS"


Sounds great...
 

whitehawk

Banned
It enters fail: before hitting the conditional, which will always return true.



Which iOS are you on? iOS 6 should be updated to 6.1.6. If you're <5, you're okay.

edit: For those of you just joining us, please use https://gotofail.com/ to see if your system is compromised. Chrome is not affected because it uses its own verification system.
Good thing I'm using firefox. Says it's safe. Safari on the other hand failed the test.
 

PFD

Member
So if I have an iPhone 4, I'm forced to update my phone to a newer version that will kill my performance or live with no security

Fuck

If the jailbreaking community releases a fix through Cydia, you might be able to safely stick to iOS 6, if you're willing to put up with the jailbreak.
 

Guess Who

Banned
If you're on an iPhone 4 and concerned about performance, you could wait for 7.1 which will probably hit in a month and perform quite a bit better than 7.0.x.
 

Lord Error

Insane For Sony
Can someone explain the problem to someone who doesn't program?
See where it says goto fail twice? Because of the way the condition is formatted, the second 'goto fail' will always execute regardless of condition. It's like if they wrote this:

if (condition) { goto fail };
goto fail;
 

reKon

Banned
See where it says goto fail twice? Because of the way the condition is formatted, the second 'goto fail' will always execute regardless of condition. It's like if they wrote this:

if (condition) { goto fail };
goto fail;

how did this get missed upon review? I'm assuming that code gets reviewed by multiple senior staff before it's given the green light..
 

FyreWulff

Member
My iOS devices are updated, but my MBP isn't so much an issue as it hasn't been out of my house for a few years at least, correct?

The communications still leave your network unencrypted. The only encryption is between you and the router when you set a password to get onto it.

Encrypting your wifi encrypts the communication between your computer/device and the router, but not anything past your router. That's what SSL is usually there for, to protect the communication between the edge of your network and the edge of the network you're communicating with.

This might help illustrate it a bit. Click the HTTPS button to see what SSL usually does for you:

https://www.eff.org/pages/tor-and-https

Right now without the update, your communications on iOS and OSX were like having both the HTTPS and Tor buttons unselected.

With proper SSL activated, your browser communications are safeguarded even on open wifi.
 

Cush

Member
My iphone4 has 6.1.3 but when I go to software update, it offers 7.0.6. How do I get 6.1.6?

Edit: Ah,I see that I can't.
 
Well at least the picture is wrong (or at least, not completely accurate in depicting the problem).

For those of you who don't speak code:

Problem #1: The encrypted connection always fails (pictured).
Problems 2 through 5000000000000000000: When an encrypetd connection fails, the system automatically falls back to an unencrypted transmission.

Thanks. Wow ...
 

Suikoguy

I whinny my fervor lowly, for his length is not as great as those of the Hylian war stallions
This is such an unbelievable oversight... I mean... Wow.

I can see how the programming error itself was not caught.

HOWEVER, I'm quite surprised that both internal apple software testing did not find it, and it was overlooked by hackers, or if it was discovered, remained a secret.
 
I can see how the programming error itself was not caught.

HOWEVER, I'm quite surprised that both internal apple testing did not find it, and it was overlooked by hackers, or if it was discovered, remained a secret.
If I'm a hacker and had a convenient backdoor like this, I wouldn't tell anyone.
 
Status
Not open for further replies.
Top Bottom