Zero-day Exploit in PDF With Adobe Reader
hankwang writes "Security researcher Petko Petkov, who is known for his recent discovery of a vulnerability with Quicktime in Firefox, claims to have discovered an exploit that allows arbitrary code execution when a maliciously crafted PDF document is opened in any version of Adobe Reader. Petkov did not disclose any technical details other than a video, but claims on his blog that Adobe has acknowledged the vulnerability. If this exploit goes wild, it could cause some serious problems, as PDFs are usually automatically opened from web browsers and widely used and trusted by corporate users."
my xpdf brings all the boys to the yard and they're like, its better than yours
Why UNIX?
i bet it doesnt work with ubuntu's pdf viewer :p
/smug
about time i got modded as a troll neway
The article is sorely lacking in details. There was a vulnerability report earlier about PDF files that open external links. At that time slashdot discussions were very critical of adding javascript kind of functionality and opening external links and invoking the browser from pdf reader. A plain and simple document reader/renderer has no need for all these hooks that allow for bells and whistles. It was alleged every bell and every whistle could be a potential attack vector. Well, presently I have disable javascript, external links etc in my pdf reader. Hope it is enough plug the hole.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
And this kind of thing is also why I leave the preview pane off in Outlook whenever I use it.
Saskboy's blog is good. 9 out of 10 dentists agree.
It's still a big effing deal, because Reader is the most accessible and widely used PDF viewer out there.
So in the interest of the public, what alternative PDF readers can people use?
In addition to that I hope Adobe clues in and realizes, Reader is there to READ AND DISPLAY PDFs and nothing else. The last time I installed it under XP on my office workstation it wanted to shovel a bunch of crap into the tray and seemed to have a lot more cruft than it needed to. This is different from what I remember it being in High School where it was a simple viewer so the customers who paid for Acrobat had an easy way to tell their readers how to open the PDFs. It has since morphed into a product instead of just a utility.
From the blog:
"The vulnerability affects Windows XP SP2 with IE7 and Adobe Reader 8.1, 8.0 and 7. Windows Vista users are not affected."
Perhaps the following will help.
/usr/local/Adobe
Change the *.api to *.ap0 in the plugins subdirectory. I kept "SearchFind.api" (ver. 7.0.3). Ergo, minimize Java/Javascript.
Also, change the Adobe directory owner and group to something other than root. For example:
# chown -R nobody:users
I assume there is some equivalent for Windows.
I tested the above changes on Linux (Slackware 12), to a degree. The owner/group change doesn't seem to harm any features that I tested.
Any Comments?
Sure, now that the vulnerability is known, the likelihood of it being exploited just went through the roof.
The game.
The Foxit PDF reader is pretty great, and I often recommend it to my clients. Not only will it be a good temporary fix for this exploit, but it opens PDF documents very quickly.
Windows:
http://www.download.com/Foxit-PDF-Reader/3000-2079_4-10634896.html?tag=lst-0-1
Linux:
http://www.foxitsoftware.com/pdf/desklinux/
Yeah, the article is lacking in details, which is unfortunate. Here is a nice little summary of not only the article, but also the speculation and arguments that have formed around the claims on a number of mailing lists.
InfoSec that matters, when it counts.
Foxit Reader is the canonical 3rd-party viewer for Windows: http://www.foxitsoftware.com/pdf/rd_intro.php
Macs have Preview, Linux has Evince and others.
Hail Eris, full of mischief...
E pluribus sanguinem
The entire download is just over 1mb and it loads PDFs quicker than the 40+mb pile of shit known as "reader".
Only the State obtains its revenue by coercion. - Murray Rothbard
"[Insert filetype here] can be used to compromise your Windows box!"
It's not a zero-day exploit until Petko releases code for the script kids to use without having a patch/update from Adobe.
The phrases "zero-day exploit" and "if this exploit goes wild" aren't really compatible. "Zero-day" is not just some random phrase you can throw in front of "exploit" to sound cool, it actually means something...
And FYI, KPDF is the KDE pdf reader, and XPDF for the luddites :)
HTH
"I think an etch-a-sketch with an ethernet port would beat IE7 in web standards compliance."
"If this exploit goes wild, it could cause some serious problems, as PDFs are usually automatically opened from web browsers and widely used and trusted by corporate users."
If you are using firefox, there is a simple way around this. Just install the PDF download add-on, its also helps avoid the problems involving the embedded PDF plugin crashing your browser.
Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
It seems like this was the type of expoloit that SELinux was designed to handle automatically. Do any of the Linux distributions provide a default SELinux policy which actually did handle this particular case? I know there has been some success in the past with SELinux prventing zero-day exploits. What about Fedora's default policy?
Does anyone here think that embedding Acrobat into a browser is a good idea? Ignoring the plethora of stupid people who use PDF when HTML would work better, even.
I loved Foxit until I tried to print a range of pages, it didn't print, and the printer became unreachable from other programs as well until a restart. The printer was a Canon BJC940 connected to a USR router.
https://dalgamotor.wordpress.com/ - Elektronik beyinlere ozgurluk asisi (Turkish)
Let's be clear about it at least. It's not just a generic PDF sploit, it's a Windows issue.
Somehow, I don't believe the same vulnerability will affect xpdf on linux and adobe reader on windows. :)
So, I still feel safe
Patents Drive Free Software as Hurricanes Drive Construction Industry
/agree
For information, click here and read this PDF.
Does anyone have any news if this affects 'Preview' on OS X. I hate the Adobe Reader and never use it.
I understood that PDF is virtually native on the Mac. This is in part due to the design of Quartz and now NeXT used to use display Postscript , which PDF grew out of in a way.
Some applications now use scaled PDF icons for resolution indepenence, such as Coda for example. Should we be worrying about this at all?
Skim on OS X. Does forms, embedded notes, highlighting, the works. It's much more powerful than Preview and only takes a tiny bit longer to start up. It seems to be updated very frequently.
I am convinced that we will not escape sandboxing every process in the not too distant future. Enough is enough, I don't think we will ever feel secure about any software any time soon.
"Sockets are the standard networking API, also useful for stopping your eyes from falling onto your cheeks" zeromq.org
PDFs have long been known as 'landmines of the Internet' for their long load times and the fact so many websites don't mark links as PDF so you never know when you're going to 'trip' over one.
It looks like Adobe is just kicking their reputation up a notch.
Is this a news report or a trailer for a motion picture?
and don't use Adobe's reader. Don't use Adobe's Acrobat either, if you don't have to. At least in the Windows world, there are plenty of alternatives out there, that often work better and more efficiently than Adobe's products, and are sometimes (get this) FREE! Are they as secure as Adobe's products? Who knows. For that matter, who knows how secure Adobe software is: big companies don't necessarily turn out more secure software than smaller ones. They can apply more programmers to a project and crank out more lines of code ... but that generally makes the product less secure because there's more room for error.
I mean if you just want a PDF viewer that works standalone and in Firefox, try Foxit Reader. Fast (very fast), lightweight and free for the download. You can upgrade to the Pro version if you need the extra capability, but for simple viewing the free version is great. I use PDF Creator to convert printer output to PDF files. Also free, and works very well.
I've long considered Adobe's PDF Reader to be inefficient bloatware and haven't used it in years. The fact that it's got security problems is one less reason to use it.
The higher the technology, the sharper that two-edged sword.
I'm not sure in what sense you use "canonical" here, but I also (and for the third time on Slashdot) highly recommend Foxit Reader. It's so good it actually makes you angry at Adobe for their shitware.
I use foxit pdf reader. I'm not sure if it has all the functionality of adobe with forms and all, but it certainly opens much faster and does everything I need it to do.
http://www.foxitsoftware.com/pdf/rd_intro.php
This space intentionally left blank
Don't forget password-protection!
Apple's preview, of course, has a PDF reader. I wonder if it is vulnerable to this one, whatever it is.
Details! Details!
On Linux, I prefer to use xpdf as my Firefox plugin, simply because it loads extremely quickly. The UI is pretty primitive, however (think X Windows, 1985). For Gnome, the standard reader now seems to be evince. For KDE, it's kpdf.
I spent some time websurfing for instructions on how to disable javascript in Adobe Reader 7 on Linux. I found a lot of pages claiming that you could do it via Edit>Preferences>JavaScript, but there was no such item in my preferences menu. What apparently does work on linux is this:
(I didn't have a pdf file containing js available to test it on -- does anyone know of one?) Even if you're not worried about this particular stack overflow, there's also a privacy issue: javascript support can be used to track who's reading a particular document.
Find free books.
One warning : test Foxit before deploying in a corporate environment. Foxit presumes full access to HKLM to work properly with IE/Outlook/etc..
Other than that, Foxit is a very nice piece of software.
Big! Strong! Wow! Tada-O!
Just use some sort of Noscript-like Firefox addon. What you're suggesting is like the old trick to disable Flash by renaming the file, and then renaming it back on the few sites you want it -- it's retarded, when there are simple extensions (add-ons) out there which let you control your plug-ins easily.
Don't thank God, thank a doctor!
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
If you're using FireFox, this can be mitigated quite nicely....I've been using the "NoScript" add-on for quite some time.
.PDF files to automatically open until the user has either permitted the server/domain, or has clicked on the .PDF placeholder to temporarily allow just that one document to open.
A side benefit of using it is that it can be setup not to allow
Really nice tool once you've "trained" it on what sites and settings are required for your use.
The term "zero day" is used incorrectly in the announcement and in this article. Zero day means "existed in the wild" before it was discovered. It means that there are known victimizations. Thus far, there are no known exploits in the wild, so this is NOT a zero-day exploit.
Words mean something, and they should be used correctly, if we are to properly convey meaning.
If the story's a day old before you report it, it's no longer a "zero-day" exploit.
Gamingmuseum.com: Give your 3D accelerator a rest.
Have you looked at the rendering quality of Foxit? It's very poor compared to both Adobe Reader and open source readers. The Firefox plug-in is broken too.
const int one = 65536; (Silvermoon, Texture.cs)
SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
True enough. And I appreciate your use of the word cracker, not hacker. Nice to see someone that knows the difference.
The higher the technology, the sharper that two-edged sword.
I agree. Foxit rendering is utter shite. If you don't mind your PDFs looking like something out of the early 90's printed on a dot matrix printer, go for foxit, but otherwise stick with the adobe reader. It's gotten a lot of bad rap in the past, but recently it's started to get decent again.
This is different from what I remember it being in High School where it was a simple viewer...
There are people who went to high school when Acrobat existed?
Oh fuck, I'm old. It used to be "I remember back in High School when we found this cool RT-11 bug".
Pass the porn and Geritol, I'll just sit here and drool...
As someone who is of European descent, I'm offended by your use of the term "cracker."
This was an announcement of a vulnerability that was discovered in Adobe Acrobat. There is nothing 0day about it, and it will not ever and can not ever be a 0day. Period.
The defining characteristic of 0day is the day an EXPLOIT is RELEASED, where such exploit also serves as the ONLY vendor notification of a bug being discovered. Every adult on this list understands the definition, but the kids can't seem to grasp the not-so-subtle nuance between a 0day and the discovery of a bug in someone else's code.
This supposedly serious disclosure referred to in the article is a non-event, there was a "press release" about a supposedly serious flaw in PDF, there were no details, so therefore it doesn't even count as disclosure of a vulnerability as a whole.
Good security is based upon reality and common sense. Common sense is a function of having common knowledge.
Advertisers and corporations indeed turned Sir Berners Lee's original idea of the web as an open publishing medium into a rats nest of advertising and proprietary and security nightmare formats.
Tired of all the isms, don't exploit people as an employer, or a government, mmmmK?
As someone who is of African descent, I'm offended by your European descent.
Even better (i.e. MUCH faster): Sumatra PDF http://blog.kowalczyk.info/software/sumatrapdf/
... and as someone of American descent, I'm just offended.
Hah.
The higher the technology, the sharper that two-edged sword.
"Sumatra PDF is a slim, free, open-source PDF viewer for Windows. It's small and starts up very fast. It's designed for portable use: it's just one file with no external dependencies so you can easily run it from external USB drive." http://blog.kowalczyk.info/software/sumatrapdf/
Foxit is also vulnerable to this, if you RTFA (including the comments made down in the blog). Its apparently not as bad there since you have to interact some with the document (it won't automatically just run), but I wouldn't advertise it as an alternative to prevent this vulnerability.
Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
I agree with the replies on bugtraq when this was announced earlier in the week, it is not a Zero-day. A zero day requires that the exploit be released AT THE SAME TIME AS THE VENERABILITY. There was no exploit released, thus this is just a venerability, a big one, but not a zero-day.
Pluralitas non est ponenda sine neccesitate
From TFA:
So if Adobe never releases a fix, he will never release the details? That's rather open-ended. He should have set a reasonable timeline which includes a reasonable amount of time to fix the bug in all versions for all platforms (variable depending the severity of the bug, but I cannot imagine this taking more than 60 days), plus time for people and IT departments to deploy the closed source changes (another 30 days at most). So a 90 day deadline, plus a couple more weeks to deal with the deployment during Christmas holidays, sounds about right. The details also need to be sequestered somewhere trustable that is beyond a US or UK court ordering some party to not release it, where it will be automatically released when the time comes.
If open source PDF viewers are also vulnerable, they, too, need to be given the details immediately so they can implement and deploy a fix. Yeah, that means someone who has the "diff -ur" command on BSD or Linux can figure out what was changed in the source, and gain a nice clue about the exploit.
now we need to go OSS in diesel cars
Ooh, do I detect a bitter Adobe employee? In my own experience (yeah, subjective, I know)
Foxit's rendering quality is perfectly adequate...maybe if I squinted *really* closely I might notice that it doesn't have SubPixelPhongShaded Antialiasing or whatever the current state-of-the-art is, but to the casual eye it's certainly not "early 90's dot-matrix" quality. The VAST difference in speed more than makes up for any (theoretical) quality deficits. Face it, Adobe Reader has been a big, bloated resource hog since v.4, and nothing I've seen from Adobe suggests that'll change.
You must be new here.
Hail Eris, full of mischief...
E pluribus sanguinem
Fucking racist.
Hail Eris, full of mischief...
E pluribus sanguinem
KPDF has line art antialiasing too, if yours has not, you are using an old version.
Shouldn't that say "of" instead of "if"?
Yup, fixed
Not sure how that slipped past the editors.
Thanks
-joel
Good security is based upon reality and common sense. Common sense is a function of having common knowledge.
Yes, because neither OSX nor Linux have any vulnerabilities.
Oh, don't pay attention to the dozens and dozens of security updates that OSX and Linux get each month (OSX has gotten way more security updates this year than Windows); as long as you ignore them you can pretend they don't exist and that only Windows has vulnerabilities.
Why don't you have the intellectual honesty to admit that your precious Linux and/or OSX have many many vulnerabilities, but the userbase is so small on those THAT NOBODY GIVES A DAMN.
BTW, Vist is unaffected by this issue; yet more evidence that MS is improving security as time goes on, something that slashdotters are too scared or too dishonest to admit.
If the program doesn't terminate just reset the printer after you get bored. Simple.
In addition to that I hope Adobe clues in and realizes, Reader is there to READ AND DISPLAY PDFs and nothing else.
Although it is true that there could be the need of a light version of the PDF reader, do not underestimate the flexibility and power brought by Acrobat javascript engine. Have a look at this API. For example, you can invert the page ordering with just a one-liner...
Of course, not everyone needs this functionality. But not everyone needs the functionality of Excel, and it is still the dominant spreadsheet software.
Windows has a number of components with APIs that are impossible, even in theory, to use securely with untrusted content, and for which no alternative can be expected to be available to a Windows application. This is different from "any operating system can have a buffer overflow".
I've listed a few here and as I said in another message recently I'm absolutely appalled that people are still making up excuses for fundamental design flaws that should have been fixed a decade ago. And all these flaws are still in Vista, all the same components with the same APIs... and putting your easily exploited browser inside a leaky sandbox to "mitigate" the damage is like depending on the rhythm method to guard against AIDS. Not only is it unreliable, but if someone can compromise IE through the HTML control they don't *need* to get out of it to steal your credit card numbers and bank account passwords from a form sniffer.
Security is like sex, once you're penetrated you're ****ed.
As for the popularity argument... even in markets where Microsoft is in a minority they have still carried an inordinate percentage of the exploits. It's not because Windows is "popular", it's because Windows security is "badly designed".
* Security zones should be labelled "insecurity zones".
* No other OS *requires* a firewall simply to shut off access to essential internal services from the internet. NONE.
* Having to use the equivalent of 'system' to run applications from a browser? You gotta be kidding.
And that's just the high profile ones, the ones that have been exploited routinely. And what happens when someone finds a vulnerability? They blame the victim, arguing "yahoo instant messenger" should have "sanitized" third party HTML before passing it to the HTML control (for one recent example). Sanitized? Sanitizing a document you're passing to a turing-complete interpreter is equivalent to solving the halting problem. No, you idiots, they couldn't have "sanitized" it... Microsoft should have provided an API for calling the HTML control that didn't require "sanitization". No other bleeding HTML display engine out there defaults to granting documents full local user rights unless it guesses they're not in the "trusted zone".
HELLO, PEOPLE, LET'S HAVE SOME BLOODY SANITY HERE.
Security mechanism MUST 'fail closed'. Not 'half open' (like Vista's reduced permissions scheme) or 'full open' (like security zones).
I despair, really I do. What the HELL are people learning in college these days?
It was a zero-day exploit until the moment he published it. The moment it becomes publicly known, it ceases to be a zero-day and turns into a simple unpatched vulnerability.
Of course, that wouldn't be sensational enough for current media...
Hmm. I've written a post about this possibility/claim before. However, I was running the two programs under wine, which may, but isn't too likely to, have changed the results. Plus, I don't think I've emphasized the fact that SumatraPDF is currently extremely feature-deprived enough.
To have a right to do a thing is not at all the same as to be right in doing it
(for the benefit of anyone viewing at -1 and not noticing that this bloke is entirely karma-free)