The gaping security hole in Mobile Safari has been fixed with updates to Apple’s iOS operating system.
Apple has just updated iOS to 4.0.2 for the iPhone (and iPod touch) and iOS 3.2.2 for the iPad. The updates patch a security vulnerability that allowed Safari to run code embedded in PDF files.
The updates are available through iTunes. Click “Check for Update” to download.
If you are plannign to jailbreak your device, do it before updating. o not get surprised, if the latest firmware includes a baseband update as well. If that happens, it will block the ultrasn0w carrier unlock as well.
Obviously, the new iOS updates break the jailbreak at JailbreakMe.com, which exploited the vulnerability.
The updates may also contain new baseband firmware, which will break carrier unlocking. To jailbreak and unlock your iOS device, see our Jailbreak Superguide.
Here are the details from Apple:
About the security content of the iOS 4.0.2 Update for iPhone and iPod touch
Last Modified: August 11, 2010
Article: HT4291
Summary
This document describes the security content of iOS 4.0.2 Update for iPhone and iPod touch, which can be downloaded and installed using iTunes.
For the protection of our customers, Apple does not disclose, discuss, or confirm security issues until a full investigation has occurred and any necessary patches or releases are available. To learn more about Apple Product Security, see the Apple Product Security website.
For information about the Apple Product Security PGP Key, see “How to use the Apple Product Security PGP Key.”
Where possible, CVE IDs are used to reference the vulnerabilities for further information.
To learn about other Security Updates, see “Apple Security Updates“.
Products Affected
iPhone, Product Security, iPod touch
iOS 4.0.2 Update for iPhone and iPod touch
FreeType
CVE-ID: CVE-2010-1797
Available for: iOS 2.0 through 4.0.1 for iPhone 3G and later, iOS 2.1 through 4.0 for iPod touch (2nd generation) and later
Impact: Viewing a PDF document with maliciously crafted embedded fonts may allow arbitrary code execution
Description: A stack buffer overflow exists in FreeType’s handling of CFF opcodes. Viewing a PDF document with maliciously crafted embedded fonts may allow arbitrary code execution. This issue is addressed through improved bounds checking.
IOSurface
CVE-ID: CVE-2010-2973
Available for: iOS 2.0 through 4.0.1 for iPhone 3G and later, iOS 2.1 through 4.0 for iPod touch (2nd generation) and later
Impact: Malicious code running as the user may gain system privileges
Description: An integer overflow exists in the handling of IOSurface properties, which may allow malicious code running as the user to gain system privileges. This issue is addressed through improved bounds checking.
++
About the security content of the iOS 3.2.2 Update for iPad
Last Modified: August 11, 2010
Article: HT4292
Summary
This document describes the security content of the iOS 3.2.2 Update for iPad, which can be downloaded and installed using iTunes.
For the protection of our customers, Apple does not disclose, discuss, or confirm security issues until a full investigation has occurred and any necessary patches or releases are available. To learn more about Apple Product Security, see the Apple Product Security website.
For information about the Apple Product Security PGP Key, see “How to use the Apple Product Security PGP Key.”
Where possible, CVE IDs are used to reference the vulnerabilities for further information.
To learn about other Security Updates, see “Apple Security Updates“.
Products Affected
Product Security, iPad
iOS 3.2.2 Update for iPad
FreeType
CVE-ID: CVE-2010-1797
Available for: iOS 3.2 and 3.2.1 for iPad
Impact: Viewing a PDF document with maliciously crafted embedded fonts may allow arbitrary code execution
Description: A stack buffer overflow exists in FreeType’s handling of CFF opcodes. Viewing a PDF document with maliciously crafted embedded fonts may allow arbitrary code execution. This issue is addressed through improved bounds checking.
IOSurface
CVE-ID: CVE-2010-2973
Available for: iOS 3.2 and 3.2.1 for iPad
Impact: Malicious code running as the user may gain system privileges
Description: An integer overflow exists in the handling of IOSurface properties, which may allow malicious code running as the user to gain system privileges. This issue is addressed through improved bounds checking.