iOS 7.1.x PDF exploit – CVE-2014-4377
A memory corruption flaw existed in the core graphics library of iOS, fixed in iOS 8. A publicly released exploit, delivered as a malformed PDF usually embedded as an image in an HTML page, was claimed by its author to work reliably on iOS 7.1.x.
isc.sans.edu
Published on isc.sans.edu
Haven't upgraded to iOS 8 yet? Aside from a lot of new features, Apple also fixed a number of security vulnerabilities in iOS 8.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory corruption bug in iOS's core graphics library when parsing a malformed PDF.
Impact
An attacker could potentially run code on an unpatched iOS 7.1.x device by getting the victim to open a crafted PDF, though the report says the exploit's working status was not verified.
What the attacker needed
Victim opens a crafted PDF; device runs iOS 7.1.x
The fix
Apple fixed the issue in iOS 8, so users should upgrade.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A PDF file is normally just a document, but the code that draws it can make mistakes when the file is malformed. Here that mistake was a memory corruption bug, meaning the software mishandles memory and may let an attacker run their own code. The report only notes that someone published such a file and claimed it works on older iPhones and iPads.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.