A major security flaw is identified in Mozilla’s Firefox browser. A Firefox user has found an advertisement on a news site in Russia was serving a Firefox exploit that searched for sensitive files and uploaded them to a server that appears to be in Ukraine.
To fix this flaw, the company Mozilla has released the new security updates on its firefox browser.
The vulnerability comes from the interaction of the mechanism that enforces JavaScript context separation and Firefox’s PDF Viewer. Mozilla products that don’t contain the PDF Viewer, such as Firefox for Android, are not vulnerable.
The vulnerability does not enable the execution of arbitrary code but the exploit was able to inject a JavaScript payload into the local file context. This allowed it to search for and upload potentially sensitive local files.
The files it was looking for were surprisingly developer focused for an exploit launched on a general audience news site, though of course Firefox don’t know where else the malicious ad might have been deployed.
On Windows the exploit looked for subversion, s3browser, and Filezilla configurations files, and site configuration files from eight different popular FTP clients.
On Linux the exploit goes after the usual global configuration files like /etc/passwd
, and then in all the user directories it can access it looks for .bash_history
, .mysql_history
, .pgsql_history
, .ssh
configuration files and keys, configuration files for remina, Filezilla, and Psi+, text files with “pass” and “access” in the names, and any shell scripts.
Mac users are not targeted by this particular exploit but would not be immune should someone create a different payload.
The exploit leaves no trace it has been run on the local machine.
If you use Firefox on Windows or Linux it would be prudent to change any passwords and keys. People who use ad-blocking software may have been protected from this exploit depending on the software and specific filters being used.
All Firefox users are urged to update to Firefox 39.0.3. The fix has also been shipped in Firefox ESR 38.1.1.
Check out the new security update in your Firefox browser’s help menu (About firefox).