Mozilla has confirmed that a pair of add-ons for its Firefox browser contained malware and may have infected up to 4,600 users.

According to an entry on the Mozilla Add-ons blog, Sothink Web Video Downloader 4.0 and all versions of Master Filer were infected with Trojan horses designed to hijack Windows PCs.

Both add-ons were in the 'experimental' area of Firefox's add-on download site, where newer extensions remain until they undergo a public review process.However, they have now been removed.

To install experimental add-ons, Firefox users must view and accept an additional warning.

Master Filer was downloaded about 600 times in the five months ending January 25, when it was pulled from the site.

Sothink Web Video Downloader 4.0 was downloaded approximately 4,000 times between February and May 2008. The most up-to-date version of the latter, which captures streaming videos in a variety of formats, is 5.7.

Any Windows users who installed one of the two add-ons would have also silently executed the Trojan, which would then infect the PC. Mac or Linux Firefox users who installed the add-ons were not affected.

Mozilla acknowledged that its security process failed.

"[Add-ons] performs a malware check on all add-ons uploaded to the site, and blocks add-ons that are detected as such," said the blog.

"This scanning tool failed to detect the Trojan in Master Filer."

After adding more scanning tools to the process, a rescan of all add-ons uncovered the attack code embedded in Sothink Web Video Downloader 4.0, which was yanked from the download site this week.

Mozilla urged users who downloaded the add-ons to uninstall them, then because that doesn't scrub the Trojan from the system, to also run an antivirus scan to detect and delete the malware.

Little could be found on the Web about the author of Master Filer, identified as 'haklinim', other than that he or she used an anonymous proxy server in Japan to shunt traffic to a developer biography, which Mozilla has also deleted.

SourceTec Software, which makes Sothink Web Video Downloader, is based in China, according to the phone number listed on its website. The company did not reply to a request for comment or an explanation of how its add-on was infected.

Mozilla did not say why the infected Sothink Web Video Downloader add-on was not detected in 2008, and whether it planned to reach out to users who had downloaded the tainted extensions.

Although Mozilla has removed both add-ons from its download site, post-4.0 editions of Sothink Web Video Downloader remain available on other download sites.

It's unknown how many copies of version 4.0 of the add-on were downloaded and installed from non-Mozilla sources, such as Cnet's

This is not the first time that Mozilla has missed malware in an add-on.

In May 2008, it admitted a worm inside a Vietnamese language add-on had gone undetected for months, and had been downloaded nearly 17,000 times.

The then-head of Mozilla's security, Windows Snyder, called the impact on users "limited".

After the worm snafu, Snyder said Mozilla would boost the number of times it scanned files for malware, and would also up the frequency of scans of its entire add-on catalogue "to address this sort of case in the future".


See also: Hackers use fake Firefox update to spread toolbar