Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Zero-day Exploit in PDF With Adobe Reader

Posted by CowboyNeal on Sat Sep 22, 2007 10:05 AM
from the be-on-alert dept.
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."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • xpdf etc (Score:5, Funny)

    by eneville (745111) on Saturday September 22 2007, @10:08AM (#20710875) Homepage
    my xpdf brings all the boys to the yard and they're like, its better than yours
    • Re: (Score:2, 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 [amazon.com] 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.
      • Re:xpdf etc (Score:5, Informative)

        by shutdown -p now (807394) <(int19h) (at) (gmail.com)> on Saturday September 22 2007, @11:42AM (#20711595)

        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 [gnome.org]. Does this leave any piece of PDF functionality not yet implemented by FOSS readers?
      • Re:xpdf etc (Score:5, Insightful)

        by kebes (861706) on Saturday September 22 2007, @11:44AM (#20711623) Journal
        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.
        • Re: (Score:3, Interesting)

          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.

          People have different definitions of "bloat". Mine is when you have to clutter up your system with more than one application to d the same job. Besides, I'm of the opinion that it's alright to use the incredibly fast and high-RAM computers of today to run these application without being stingy about resources for every single thing (unless it actually does slow down your system). While I've pitied the users who have 16 things in their system tray that eat up resources (Acrobat does this too btw, with it

        • Re: (Score:3, Insightful)

          Lacking features can be a good thing.

          Not accusing of anything, but this is altogether too often used by FOSS advocates to justify the lack of features or polish.

          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

          The security issues still remain - all an attacker has to do is disguise his PDF as a PDF form and shabam, your employees fall hook, line, sinker, and your network is now compromised. A pinhole in a submarine will still let water in, even if 99% of the rest of the surface is perfectly sealed.

      • Re: (Score:3, Informative)

        Adobe recently threatened to sue a company [news.com] that wanted to include PDF output into their word processor.

        Yes, that company was Microsoft, but that doesn't change the fact that they threatened to sue them over its inclusion for "antitrust reasons" (read: It would hurt the sales of Acrobat [adobe.com]).

        PDF isn't an open standard. If you want to implement it, Adobe apparently retains the right to sue you for it at any time.
        • Re: (Score:3, Insightful)

          Yes, that company was Microsoft, but that doesn't change the fact that they threatened to sue them over its inclusion for "antitrust reasons" (read: It would hurt the sales of Acrobat).
          Yes, it does. If you don't have a monopoly, it means nothing. (Ever notice how Adobe doesn't care that OpenOffice has PDF output?)
        • Re:xpdf etc (Score:5, Informative)

          by eggnoglatte (1047660) on Saturday September 22 2007, @11:46AM (#20711629)

          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.
                    • Re:xpdf etc (Score:4, Insightful)

                      by Yvan256 (722131) on Saturday September 22 2007, @03:54PM (#20713799) Homepage Journal

                      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

  • smug (Score:4, Funny)

    by ch0ad (1127549) on Saturday September 22 2007, @10:10AM (#20710897)
    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
    • by SkiifGeek (702936) <<moc.gnimrekseb> <ta> <ofni>> on Saturday September 22 2007, @10:19AM (#20710981) Homepage Journal
      Yeah, the article is lacking in details, which is unfortunate. Here [beskerming.com] 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.
    • Re:Lacks details (Score:4, Informative)

      by RAMMS+EIN (578166) on Saturday September 22 2007, @10:56AM (#20711257) Homepage Journal
      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 [mitre.org] was recently found and fixed in xpdf. This could be the same bug.
      • Re:Lacks details (Score:5, Informative)

        by bcrowell (177657) on Saturday September 22 2007, @11:16AM (#20711363) Homepage
        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.
  • And this kind of thing is also why I leave the preview pane off in Outlook whenever I use it.
  • by NevarMore (248971) on Saturday September 22 2007, @10:14AM (#20710933) Homepage
    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.
  • by sid0 (1062444) on Saturday September 22 2007, @10:16AM (#20710951) Journal
    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."
    • Should one assume that the vuln is also in Acrobat Standard and Acrobat Professional? Got some users using those, and won't this be a joy for the pre-8 ones.
      • I travel most of the year, and usually stay with hosts from hospitality associations like Couchsurfing. As I visit home after home, I'm amazed at how much software is left un-updated on computers that are more than capable of running the newer versions. Ancient versions of Firefox, unregistered Windows installations that could be easily cracked so you could get the service packs and security updates, an old version of Acrobat. There's got to be some way of getting people to upgrade, yet in apps that notify
    • by nwbvt (768631) on Saturday September 22 2007, @10:26AM (#20711049)

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

      Sorry, couldn't resist.

  • by Zaphod-AVA (471116) on Saturday September 22 2007, @10:17AM (#20710967)
    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 [download.com]

    Linux:
    http://www.foxitsoftware.com/pdf/desklinux/ [foxitsoftware.com]
    • The entire download is just over 1mb and it loads PDFs quicker than the 40+mb pile of shit known as "reader".
    • by Arkaic (784460) on Saturday September 22 2007, @10:23AM (#20711015)
      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."
    • KPDF came with my Kubuntu installation. Never failed me.
      It also pleases the raving hippies who want everything open source ;)
    • Re: (Score:3, Informative)

      Even lighter and faster than foxit: Sumatra PDF Reader [kowalczyk.info]. It is Windows only but runs fine in Wine. Since TFA has no details, I can't say if Sumatra is also vulnerable, but for me it beats foxit.
  • by promiscuous-mode (314909) on Saturday September 22 2007, @10:23AM (#20711021)
    It's not a zero-day exploit until Petko releases code for the script kids to use without having a patch/update from Adobe.
    • Save your energy. It's like the cracker/hacker issue. Nobody seems to remember or care what the terms mean anymore.

      I won't even point out the irony in that a Slashdot editor doesn't even know.
  • For firefox users... (Score:4, Informative)

    by nwbvt (768631) on Saturday September 22 2007, @10:30AM (#20711071)

    "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 [mozilla.org] add-on, its also helps avoid the problems involving the embedded PDF plugin crashing your browser.

  • As an asside: (Score:4, Interesting)

    by T-Ranger (10520) <jeffw@nOspAm.chebucto.ns.ca> on Saturday September 22 2007, @10:30AM (#20711077) Homepage
    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.
  • Somehow, I don't believe the same vulnerability will affect xpdf on linux and adobe reader on windows.
    So, I still feel safe :)
  • by Zero__Kelvin (151819) on Saturday September 22 2007, @12:38PM (#20712097) Homepage

    ""Adobe Acrobat/Reader PDF documents can be used to compromise your Windows box."
    The keyword, as is so often the case with security vulnerabilities, is Windows . The real summary is that there is a flaw in Adobe Reader that allows a cracker to exploit a security vulnerability in Windows . In other words it is same story, different day. When an application as simple as a reader can have a flaw in it that leads to a compromise of the OS, the security flaw is in the OS , not in the application.
  • by operagost (62405) on Saturday September 22 2007, @12:59PM (#20712305) Homepage Journal
    If the story's a day old before you report it, it's no longer a "zero-day" exploit.
  • by JRHelgeson (576325) on Saturday September 22 2007, @01:40PM (#20712703) Homepage Journal
    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.
    • Re: (Score:2, Insightful)

      I'm not sure how the plugin works, but if the binary isn't setuid, changing its owner will be useless, since it will run with the privileges of the browser (i.e. probably yours), not those of the owner.
    • Re: (Score:2, Funny)

      by Anonymous Coward
      Ok you're in charge of policing the expression "zero-day exploit", and I'll take care of "defective by design". Good hunt.
    • by Bacon Bits (926911) on Saturday September 22 2007, @11:26AM (#20711445)
      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!
    • by p0tat03 (985078) on Saturday September 22 2007, @01:10PM (#20712395)

      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.