logoalt Hacker News

aemoron • yesterday at 5:08 PM • 9 replies • view on HN

What's with iOS and pdfs pwning them? Reminds me of the ForcedEntry in Pegasus.

https://projectzero.google/2022/03/forcedentry-sandbox-escap...

https://www.trendmicro.com/en_gb/research/21/i/analyzing-peg...


Replies

enjoytheview • yesterday at 5:13 PM

PDF has been an entry point since forever, it is extremely complex and can in some cases even run javascript, it has a huge attack surface.

➕ show 1 reply
motoboi • yesterday at 5:15 PM

Too huge attack surface. Good candidate for victim trust (who would not open a pdf file on an iPhone?).

So pdf and images are the best vector for iPhones.

Once you escape the parser you have to reach and escape the sandbox and from there reach the kernel.

➕ show 1 reply
creata • yesterday at 10:33 PM

If it wasn't PDF it'd be something else. It's everything after the PDF that's alarming here - how did they break out of the app sandbox?

tech234a • yesterday at 10:34 PM

I wonder if pdf.js would be more secure since it runs inside a webpage and can benefit from the browser sandboxing. Though I guess iOS has generally managed to keep most of its apps native rather than web app wrappers (as has happened on Windows).

mahboi • yesterday at 5:16 PM

Well it was TIFF one time

➕ show 1 reply
NetMageSCW • yesterday at 6:10 PM

Never mind - that only applied to origins PDF 1.x.

midtake • yesterday at 10:31 PM

Does Lockdown block all PDFs?

➕ show 1 reply
dpacmittal • yesterday at 10:42 PM

pdf is the new swf

bushbaba • yesterday at 5:49 PM

Maybe with LLMs a full rewrite that’s more secure could be done

➕ show 2 replies