Slashdot Mirror


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."

30 of 188 comments (clear)

  1. xpdf etc by eneville · · Score: 5, Funny

    my xpdf brings all the boys to the yard and they're like, its better than yours

    1. Re:xpdf etc by shutdown+-p+now · · Score: 4, Informative

      You are joking, right? Xpdf lacks all kinds of features useful in the corporate world. Forms that can be filled out is one. PDF is an open format, and Adobe publishes the standard for your convenience, but even after years of work Xpdf and offshoots like libpoppler still can't support much more than they did years ago.
      While this is mostly true, I would like to point out that the most recent version of Evince (the one that ships with Gnome 2.20) supports PDF forms. Does this leave any piece of PDF functionality not yet implemented by FOSS readers?
    2. Re:xpdf etc by kebes · · Score: 5, Insightful

      Lacking features can be a good thing.

      I think the sensible strategy, in terms of performance and security, is to use a lightweight minimalist PDF reader for 99% of your PDF needs, and then to only open up Adobe Acrobat when you absolutely need its extra features. Acrobat is a rather large program (some might say "bloated") and it supports a wide variety of features, plugins, etc. It's a fact of life that supporting all those additional features (which are rarely used in a document) increases the program's resource requirements, and make security vulnerabilities "more likely" (for every feature you add, there's another chance for a bug, and another attack vector).

      So, again, I think the sensible strategy is to use a fast, minimalist PDF reader (which, hopefully, is simple enough that it fairly secure: that is, no plugins that can run arbitrary code). Then, when you encounter those PDFs that need those extra features, you load them using a Acrobat, assuming you trust them. In my experience, PDFs that use anything beyond the basic features are rare enough that this isn't much of a burden. It's a fallacy to think that every program that supports a given filetype needs to "do it all"--different programs have different uses.

    3. Re:xpdf etc by eggnoglatte · · Score: 5, Informative

      what corporation actually makes use of forms? Only every single one I've ever worked for. Some government offices here in Canada also provide PDF forms for situations where you have to submit a printed version of the form in the end. You could achieve something similar with web forms, except the printed version would look different depending on browser. Sometimes a consistent formatting is a real advantage. So it is either PDF forms or Word, and given a choice between the two, I definitely vote for PDF.
    4. Re:xpdf etc by cortana · · Score: 3, Insightful

      DRM, execution of JavaScript code and selective toggling of layers.

    5. Re:xpdf etc by shutdown+-p+now · · Score: 3, Informative

      DRM, execution of JavaScript code and selective toggling of layers.
      No idea about the rest, but at least xpdf does respect the restriction flags in PDFs. For example, it won't let you print a PDF if the no-print flag is set. Of course, it being open source, it is easily disabled, and some distros disable it in their packages (I recall Gentoo was doing so).
    6. Re:xpdf etc by zCyl · · Score: 3, Insightful

      at least xpdf does respect the restriction flags in PDFs. For example, it won't let you print a PDF if the no-print flag is set.

      An intentional defect is not a feature.
    7. Re:xpdf etc by BillyBlaze · · Score: 3, Informative

      Heh, KPDF has a checkbox for whether you want it to respect that DRM. Um, no thanks. (There's also a compile-time option to make it mandatory, for the wussier binary distros.)

    8. Re:xpdf etc by Yvan256 · · Score: 3, Insightful

      I was a sysop of my own BBS, back in 91. we didnt have pdf back then, but most people could understand how to reply to a text application just fine.
      And back then, people who used computers knew how computers work.

      This is 2007, where people don't even know the differences between .txt, .rtf, .doc, .pdf or .html

  2. smug by ch0ad · · Score: 4, Funny

    i bet it doesnt work with ubuntu's pdf viewer :p
    /smug

    about time i got modded as a troll neway

    1. Re:smug by doombringerltx · · Score: 4, Funny

      If saying linux is more secure than windows is your idea of trolling slashdot, then you *really* must be new here

    2. Re:smug by astrosmash · · Score: 5, Funny

      A lot of things don't work with Ubuntu's pdf viewer.

      --
      ENDUT! HOCH HECH!
  3. The vulnerability is in Reader not the PDF format by NevarMore · · Score: 3, Insightful

    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.

  4. FYI: Vista not affected by sid0 · · Score: 4, Informative

    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."

    1. Re:FYI: Vista not affected by nwbvt · · Score: 4, Funny

      Well yeah, it can't affect an operating system if no one is running it.

      Sorry, couldn't resist.

      --
      Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
  5. Foxit reader is a good substitute. by Zaphod-AVA · · Score: 3, Informative

    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/

    1. Re:Foxit reader is a good substitute. by Arkaic · · Score: 5, Insightful

      That may not be much better. According to a follow up comment by the discoverer of the exploit.

      "Foxit is vulnerable as well, although the user is required to interact with the document in order to launch the exploit."

  6. Details Sorely Lacking by SkiifGeek · · Score: 4, Interesting

    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.

  7. Re:The vulnerability is in Reader not the PDF form by Nimey · · Score: 5, Informative

    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
  8. NOT a zero day exploit ! by promiscuous-mode · · Score: 4, Informative

    It's not a zero-day exploit until Petko releases code for the script kids to use without having a patch/update from Adobe.

  9. For firefox users... by nwbvt · · Score: 3, Informative

    "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.
  10. As an asside: by T-Ranger · · Score: 3, Interesting

    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.

  11. Re:Lacks details by RAMMS+EIN · · Score: 3, Informative

    The summary makes me think it is some kind of stack smashing attack; probably an integer overflow. These can occur in the PDF parsing code, before you even have to look at features like scripting. On the other hand, if PDF is anything like PostScript here, and I believe it is, it is a programming language itself, which might lead to exploitable situations.

    Also, an integer overflow was recently found and fixed in xpdf. This could be the same bug.

    --
    Please correct me if I got my facts wrong.
  12. Re:Lacks details by bcrowell · · Score: 4, Informative

    On the other hand, if PDF is anything like PostScript here, and I believe it is, it is a programming language itself, which might lead to exploitable situations.
    No. Postscript is a Turing-complete language. People have, e.g., written calculator programs in postscript, and implemented Conway's game of life in it. PDF is not Turing-complete, and that was an intelligent, intentional design decision. I think it had less to do with concerns about security than with not wanting to run a program on your printer without having any possible way to tell whether the program would ever terminate.

  13. Re:Terminology Police! by Bacon+Bits · · Score: 4, Informative

    That's what I keep saying. A vulnerability is never zero day. An exploit is only zero-day if an in-the-wild exploit is discovered the same day that the software vendor and security communities become aware of it. Since this was posted as an undisclosed proof of concept three days ago, it is quite impossible for a zero day exploit to exist!

    --
    The road to tyranny has always been paved with claims of necessity.
  14. Hint to editors... by operagost · · Score: 4, Funny

    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.
  15. Re:'Preview' and Mac OS X by p0tat03 · · Score: 4, Informative

    As a side note... Preview does an incredibly good job with PDFs that Adobe themselves can't even do. Back when I was a Windows user exclusively, I always complained that the "official" reader was dog slow even on the fastest machines, and could not ever scroll smoothly through any slightly complex document.

    Now that I've switched to Mac and use Preview, I realize this isn't Windows, it's just Adobe's incompetence. Preview is fast as hell and NEVER lags in any way, while Adobe Reader for the Mac is as slow and bloated as its Windows brethren.

  16. This was never a 0Day... by JRHelgeson · · Score: 5, Informative

    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.
  17. Re:The vulnerability is in Reader not the PDF form by dsinc · · Score: 3, Informative

    Even better (i.e. MUCH faster): Sumatra PDF http://blog.kowalczyk.info/software/sumatrapdf/

  18. Re:The vulnerability is in Reader not the PDF form by nwbvt · · Score: 4, Informative

    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.