Desmond File

Blog archive

Phishing with Hand Grenades

In the drowsy space between the Christmas and New Year's holiday, a little presentation by Italian security researchers nearly went unnoticed, despite the fact that it unearthed a show-stopping security hole in a nearly ubiquitous application.

That application is the Adobe Acrobat browser plug-in, which does its thing whenever you click on a link to a PDF file on a Web site. The plug-in accepts JavaScript to do things like open a linked PDF and jump down in the document to a bookmark described in the JavaScript code, or to open the Print dialog box once the file has loaded. The JavaScript that gets executed is contained directly in the URL.

Sounds useful, right? The problem is the Acrobat plug-in doesn't discriminate what JavaScript code it will run. So a malicious party can present a trusted link to a legitimate PDF file - say, tax forms at a major bank's Web site -- and use the JavaScript in their link to do...well, just about anything. Including displaying an HTML Web page that looks exactly like the legitimate login page of the bank. It can even change the appearance of the address so everything looks kosher to the user.

Now you're phishing with hand grenades.

JavaScript cross-site scripting attacks are hardly new. But this one is unique in that any site that hosts a PDF is vulnerable, and there is simply no way to detect whether or not an attack has occurred.

"The scary thing about this attack is regardless of me as a bank or a financial services provider, no matter how secure I made it, if I host PDFs I now have a vulnerability," says Billy Hoffman, lead R&D engineer for SPI Dynamics.

Adobe has scrambled to patch the vulnerability, which affects Acrobat 4.0 and later, but Hoffman questions how many millions of unpatched clients are still out there. He also says that Adobe's lesson is one that corporate developers need to take to heart. In short, development managers need to think more critically when it comes to connected apps, and avoid crafting open-ended functionality that can get terribly misused.

"I would say the big [mistake] was they really didn't think through the repercussions of this feature," Hoffman says. "I've never seen a PDF need to use JavaScript or have JavaScript render or manipulate a PDF. They were putting in features that really didn't need to be there. They put this in, but really no one thought of what the security implications would be."

What are your thoughts on the Adobe plug-in vulnerability? Did Adobe royally muck it up, or is it simply making the same mistakes as the rest of us on a bigger stage? E-mail me at mdesmond@reddevnews.com.

Posted by Michael Desmond on 01/17/2007


comments powered by Disqus

Featured

  • VS Code v1.99 Is All About Copilot Chat AI, Including Agent Mode

    Agent Mode provides an autonomous editing experience where Copilot plans and executes tasks to fulfill requests. It determines relevant files, applies code changes, suggests terminal commands, and iterates to resolve issues, all while keeping users in control to review and confirm actions.

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

Subscribe on YouTube