[SOLVED] Safe to allow pdf?
Posted: Thu Nov 25, 2010 10:34 am
I disabled JavaScript, multimedia operations and attachment opening in Acrobat Reader. Can I always allow PDFs without any concern?
NoScripters and WebSec nerds of all lands, unite!
https://forums.informaction.com/
I assume you're referring to this section of http://noscript.net/features#contentblocking, Lucas.Lucas Malor wrote:I disabled JavaScript, multimedia operations and attachment opening in Acrobat Reader. Can I always allow PDFs without any concern?
That said, I don't know if you can "always allow PDFs without any concern" with the Acrobat Reader configuration you describe. It might be sufficient protection from known pdf vulnerabilities, but not for a zero-day exploit yet to be discovered.You can configure some exception to the Forbid Other Plugins option by setting the noscript.allowedMimeRegExp about:config preference to a pattern matching the content types you want to allow. For instance, setting it to "application/pdf" will let PDF document load automatically on every site. That said, are you sure you need to? Adobe Acrobat Reader plugin got its share of vulnerabilites so far, and after all, you can still allow individual PDF documents from untrusted sites just clicking on their placeholders.
Yes.Alan Baxter wrote:I assume you're referring to this section of http://noscript.net/features#contentblocking, Lucas.
Well, you make good points. Anyway I think that if the pdf is not embedded, I opened it myself. This can be not true when the domain is whitelisted and embedded contents are not applied to whitelisted domains too.Alan Baxter wrote:It might be sufficient protection from known pdf vulnerabilities, but not for a zero-day exploit yet to be discovered.
No.Alan Baxter wrote:Do you have a particular site in mind where using placeholders for PDF is a problem?
You can't, and for a good reason.Lucas Malor wrote:The problem is NoScript blocks PDFs even if they are not embedded. How can I avoid this, without allowing embedded PDFs too adding "application/pdf" to noscript.allowedMimeRegExp
Code: Select all
<iframe src="some-malicious.pdf"></iframe>
Code: Select all
<meta http-equiv="refresh" content="0;url=some-malicious.pdf">