0-day attack on Firefox stole sensitive data and password

Mozilla released the version 39.0.3 Firefox to patch a critical 0-day vulnerability that has been exploited in the wild.

A zero-day vulnerability in Mozilla FireFox was reported on Wednesday to the company. A user noticed that an ad displayed on a Russian news website was serving an a malicious code. The exploit discovered by the user was developed to siphon sensitive files on the infected system. The exploit is very insidious, it was developed to avoid leaving traces on the targeted system.

“Yesterday morning, August 5, a Firefox user informed us that 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” Mozilla wrote in a blog post.

“The vulnerability comes from the interaction of the mechanism that enforces JavaScript context separation (the ‘same origin policy’) and Firefox’s PDF Viewer”.

The flaw resides in the PDF viewer, for this reason it does not affect Firefox for Android and other Mozilla products that don’t contain the viewer component. Mozilla confirmed that the attack spotted in the wild has been targeting certain types of files hosted on Windows and Linux systems.

The experts explained that the vulnerability, coded as CVE-2015-4495,which was reported by researcher Cody Crews, cannot be exploited to execute arbitrary code.

The flaw could be exploited to inject a JavaScript payload into the local file context. In the attack uncovered by the researchers the threat actor leveraged the vulnerability to exfiltrate local files.

At the time I was writing there is no news of the attacks against Apple devices, Mozilla clarified that Mac systems could be also targeted because the payload can be adapted.

Which are the files the malware is looking for?

“On Windows the exploit looked for subversion, s3browser, and Filezilla configurations files, .purple and Psi+ account information, 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. ” states Mozilla.

Mozilla doesn’t exclude that the exploit was deployed also on other websites, not necessarily news website.

Firefox for both Windows and Linux users urge to change passwords and keys contained in the files targeted by the attackers.

Fortunately, ad-blocking software could allow to mitigate this kind of attacks

The vulnerability has been already patched by Mozilla that released the version 39.0.3 Firefox and Firefox ESR 38.1.1. Don’t waste time, update your version now!

Pierluigi Paganini

(Security Affairs – zero -day, Mozilla Firefox)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Fintech firm Figure disclosed data breach after employee phishing attack

Fintech firm Figure confirmed a data breach after hackers used social engineering to trick an…

20 hours ago

U.S. CISA adds a flaw in BeyondTrust RS and PRA to its Known Exploited Vulnerabilities catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a flaw in BeyondTrust RS and…

21 hours ago

Suspected Russian hackers deploy CANFAIL malware against Ukraine

A new alleged Russia-linked APT group targeted Ukrainian defense, government, and energy groups, with CANFAIL…

1 day ago

New threat actor UAT-9921 deploys VoidLink against enterprise sectors

A new threat actor, UAT-9921, uses the modular VoidLink framework to target technology and financial…

2 days ago

Attackers exploit BeyondTrust CVE-2026-1731 within hours of PoC release

Attackers quickly targeted BeyondTrust flaw CVE-2026-1731 after a PoC was released, enabling unauthenticated remote code…

2 days ago

Google: state-backed hackers exploit Gemini AI for cyber recon and attacks

Google says nation-state actors used Gemini AI for reconnaissance and attack support in cyber operations.…

2 days ago

This website uses cookies.