File-stealing vulnerability found in Firefox PDF reader

Posted by   Virus Bulletin on   Aug 7, 2015

Both Windows and Linux users actively being targeted.

If, like me, you are suffering from vulnerability fatigue after so many flaws and weaknesses having been disclosed in Las Vegas this week, you may be tempted to ignore the advisory Mozilla released yesterday. However, I strongly advise you don't.

The company says it has been made aware of a vulnerability in the PDF reader built into its flagship Firefox browser. The vulnerability allows an attacker to create a specially crafted PDF that injects JavaScript code into the local file context. This could be used to upload local files to a server controlled by the attacker.

So far, there are no signs that the vulnerability allows for remote code to be executed on the target's machine, thus making it less likely to be included into exploit kits, yet that doesn't mean users of the browser shouldn't been concerned.

Indeed, the vulnerability is already known to have been exploited in the wild, apparently through advertisements on a Russian news site. This exploit targeted both Windows and Linux machines. In the former case it looked for configuration files for programs like Filezilla and subversion, obviously looking for credentials that could be exploited.

On Linux, the exploit unsurprisingly uploaded the /etc/passwd file, as well as private SSH keys and Bash and MySQL history. It is not hard to imagine how an attacker could use this information. Currently, no attacks against Mac users have been spotted, but they are just as vulnerable.

If you are using Firefox, you are urged to upgrade to version 39.0.3 of the browser, which patches the vulnerability. Or, if you are running the extended support release, to version 38.1.1. If you're a Linux user, it might also be a good opportunity to think about whether you want your shell and MySQL histories to be stored on disk.

Posted on 07 August 2015 by Martijn Grooten



Latest posts:

Firefox 59 to make it a lot harder to use data URIs in phishing attacks

Firefox developer Mozilla has announced that, as of version 59 of the browser, many kinds of data URIs, which provide a way to create "domainless web content", will not be rendered in the browser, thus making this trick - used in various phishing…

Standalone product test: FireEye Endpoint

Virus Bulletin ran a standalone test on FireEye's Endpoint Security solution.

VB2017 video: Consequences of bad security in health care

Jelena Milosevic, a nurse with a passion for IT security, is uniquely placed to witness poor security practices in the health care sector, and to fully understand the consequences. Today, we publish the recording of a presentation given by Jelena at…

Vulnerabilities play only a tiny role in the security risks that come with mobile phones

Both bad news (all devices were pwnd) and good news (pwning is increasingly difficult) came from the most recent mobile Pwn2Own competition. But the practical security risks that come with using mobile phones have little to do with vulnerabilities.

VB2017 paper: The (testing) world turned upside down

At VB2017 in Madrid, industry veteran and ESET Senior Research Fellow David Harley presented a paper on the state of security software testing. Today we publish David's paper in both HTML and PDF format.