Apple has patched a bug in its Safari web browser after security researchers showed how it could be used to run unauthorised software on a Windows machine.
The 'carpet bomb' bug, which was originally discovered by security researcher Nitesh Dhanjani, was initially thought to be less serious than it turned out to be.
Dhanjani showed how Safari could be misused to litter a victim's desktop with downloaded programs, but two weeks after he disclosed his research, another hacker, named Aviv Raff, showed that this flaw could be exploited in tandem with other problems in Windows and Internet Explorer to run unauthorised software on a victim's PC.
That prompted Microsoft to issue its own warning about the issue. It also caused some security experts to caution web surfers about using Safari on the Windows platform.
According to Dhanjani, Apple initially told him that it did not intend to fix the issue, but apparently the company has now changed its mind.
It also fixes a less-critical issue in the way Safari renders Bitmap and Gif images, which could give attackers a peek at the memory of a victim's computer, Apple said.
Thursday's update was for Windows computers only, and Apple has not yet released a 3.1.2 Safari update for the Mac.
The Mac version of Safari is also subject to the carpet bombing attack. But, unlike Windows, the Mac does not suffer from the second flaw, which allows a carpet bomb attack to be used to take control of a victim's machine. Also, Mac OS X squirrels downloaded files into a special folder, rather than depositing them on the desktop, making things a little safer on the Mac, Dhanjani said in an interview late Thursday.
He said it makes sense for Apple to fix the issue on Windows first because of the severity of this tandem attack. But he expects a Mac patch as well. "It's still a security issue," he said. "I would be very surprised if they don’t update it."
Dhanjani said that he hasn't heard from Apple since its initial response to his bug report.