The integrated viewer was the one noticeable change to users, although Mozilla enhanced under-the-hood features as well for website developers, and added support for additional HTML5 standards.
Firefox 19 also included patches for 13 security vulnerabilities, 10 pegged as “critical,” the company’s most severe threat ranking.
But the inclusion of a PDF viewer was what Firefox users will see. The viewer was once slated for Firefox 18 – it was part of that edition’s beta – but Mozilla pulled the component before shipping the browser early last month, delaying it until the next iteration in its every-six-week release cycle.
With the move, Mozilla follows in Google’s footsteps: The search giant baked a PDF viewer into Chrome more than two years ago.
But unlike Chrome’s PDF viewer, which operates inside the browser’s anti-exploit sandbox, Firefox’s does not sport similar defences. And that matters, as PDF documents are often rigged with malicious code.
Adobe, for example, said last weekend that it plans to patch the Reader plug-in this week to stifle attacks exploiting a pair of vulnerabilities. And Foxit, another popular PDF browser plug-in, quashed a bug of its own less than five weeks ago.
Even sans a sandbox, Mozilla claimed its PDF viewer would be more secure than traditional plug-ins such as Adobe Reader. “Many of these plug-ins come with proprietary, closed source code that could potentially expose users to security vulnerabilities,” said Bill Walker and Brendan Dahl, engineering manager and software engineer at Mozilla, respectively, in a January blog announcing the viewer.
But security experts have pointed out that Firefox’s PDF viewer will likely suffer bugs of its own.
“I would have to imagine that it has just as much potential to have bugs as any other software,” said Andrew Storms, director of security operations at nCircle Security, in an interview Tuesday conducted via instant messaging. “It would appear they are banking on the open-source community to provide better security than the closed source commercial PDF viewer from Adobe. By pulling the PDF reader ‘in house’ via an open-source initiative, it lets them release bug fixes much faster and on their own schedule.”
Storms was echoing comments made last month by other security professionals. Firefox 19 renders PDF documents for viewing and printing without requiring a separate plug-in, following a 2010 move by Google’s Chrome.
Mozilla acknowledged that the viewer was not protected by any special defence, as are malformed PDFs in Adobe’s Reader – at least on Windows, which provides a full-fledged sandbox – or in Google’s Chrome, which sandboxes each tab, isolating a rigged PDF from the rest of the browser.
“PDF.js runs with the same permissions as any Web page though, so there would have to be a security problem with Firefox itself,” tweeted the PDF.js team last month in reply to a question about potential security issues with the viewer.
But Storms noted the flip side. “So if this PDF process, as part of Firefox, has a hole, the attacker in theory then owns the browser instead of just the plug-in process,” Storms said.
Mozilla also patched 13 vulnerabilities, 10 critical, one marked “high” and two pegged “moderate,” in Firefox today.
Nearly half of the bugs were reported by Abhishek Arya, better known as “Inferno,” of the Chrome security team, Mozilla said in one of today’s advisories, making this the third Firefox upgrade running where Arya has accounted for a major part of the reported vulnerabilities. Three of the six reported by Arya were use-after-free vulnerabilities, a type of memory management bug that Google’s security engineers have rooted out in droves from Chrome and, increasingly, other browsers.
Another of the baker’s dozen, also a use-after-free bug, was reported by a researcher known only as “Nils,” who is best known for back-to-back victories at the 2009 and 2010 Pwn2Own hacking contests. Windows, Mac and Linux editions of Firefox 19 can be downloaded manually from Mozilla’s site. Already-installed copies will upgrade automatically.
The next version of Firefox is scheduled to ship April 2, 2013.
Gregg Keizer covers Microsoft, security issues, Apple, web browsers and general technology breaking news for Computerworld. Follow Gregg on Twitter at @gkeizer, on Google+ or subscribe to Gregg’s RSS feed. His email address is firstname.lastname@example.org.