Endpoint
5/24/2010
05:27 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Apple Safari 'Carpet Bomb' Flaw Remains Unfixed Two Years Later

Google Chrome also prone to similar attacks

Apple fixed the so-called "carpet bomb" vulnerability in its Safari browser for Windows after Microsoft issued a security advisory about it in July 2008, but to date the very same flaw in Safari for OS X is still unpatched.

Security researcher Nitesh Dhanjani, who alerted Apple of the flaw in May 2008, says the threat of an attacker exploiting this bug is alive and well today, especially with the growth in popularity of Safari and OS X. He says in 2008 Apple told him it didn't consider the issue a security vulnerability but more of a design issue, and that it didn't have plans to fix it anytime soon.

Dhanjani says the vulnerability could let a bad guy download malicious binaries and data files into the browser's Downloads folder without the user knowing because Safari does not ask the user whether he wants to save the file on his machine, which most other browsers do. So when a user visits a malicious website, Safari would allow the site to download files without prompting the user. "It just drops them into the Downloads folder and can serve you thousands of files without your knowing," Dhanjani says.

The main threat the flaw poses is a denial-of-service attack on the victim's machine, he says. The carpet bomb DoS attack would wipe out a session and "whatever you were working on would be gone," he says.

Google's Chrome browser has a similar issue, notes Robert "RSnake" Hansen, CTO at SecTheory. "It automatically downloads files without user prompting, as well, as long as they aren't .exe or whatever," Hansen says.

And the no-prompt download features in Safari and Chrome can be exploited in even more nefarious ways, Hansen says, such as with tools including 42.zip. "You can do some really nasty stuff when you get something like 42.zip involved," he says. 42.zip basically contains multiple zipped files within zipped files that eventually max out file space once they are extracted.

Dhanjani says the only indication of the malicious files downloading would be the pop-up window showing a download, but by then it's probably too late for the victim to do anything about it. Apple does have a security feature in OS X that asks the user if he wants to open an executable that was dropped onto his machine, however, Dhanjani says.

Targeted attacks, such as those against Google and other companies in Operation Aurora, started by dropping a malicious file onto a desktop, he notes. "If I'm an attacker and I spray 100 corporate users [with this executable], someone is going to click on it," Dhanjani says.

It also banks on the user eventually opening up a malicious file that had been downloaded. "It hopes that in two months you'll open it, wondering, 'What is this?'" he adds.

While DoS is a relatively low-tech issue, Dhanjani says, the flaw could be used to wage a blended attack, with, say, a buffer overflow exploit. "It could [also] open up most of your apps without your knowing it," he says, and litter them with malicious data that could be used to further compromise the machine -- and the network.

SecTheory's Hansen says one scenario with a carpet bomb attack would be if Chrome were forced to download a Flash file onto a Vista machine also running Internet Explorer. "Later on, you [the victim] use Internet Explorer and they [the attacker] iFrame in that content," he says. "It would fire an exploit, but ... [the attacker] would have to know the user name ahead of time. So you'd have to do one of those cut-and-paste exploits or SMB decloak to get the user name ahead of time.

"That shouldn't be too hard as long as you know that [the victim] switched between Chrome and IE often on the same site that the attacker controls," Hansen says.

Meanwhile, Dhanjani posted a demo and some examples of a carpet bomb attack.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2012-2413
Published: 2014-10-20
Cross-site scripting (XSS) vulnerability in the ja_purity template for Joomla! 1.5.26 and earlier allows remote attackers to inject arbitrary web script or HTML via the Mod* cookie parameter to html/modules.php.

CVE-2012-5244
Published: 2014-10-20
Multiple SQL injection vulnerabilities in Banana Dance B.2.6 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) return, (2) display, (3) table, or (4) search parameter to functions/suggest.php; (5) the id parameter to functions/widgets.php, (6) the category parameter to...

CVE-2012-5694
Published: 2014-10-20
Multiple SQL injection vulnerabilities in Bulb Security Smartphone Pentest Framework (SPF) before 0.1.3 allow remote attackers to execute arbitrary SQL commands via the (1) agentPhNo, (2) controlPhNo, (3) agentURLPath, (4) agentControlKey, or (5) platformDD1 parameter to frameworkgui/attach2Agents.p...

CVE-2012-5695
Published: 2014-10-20
Multiple cross-site request forgery (CSRF) vulnerabilities in Bulb Security Smartphone Pentest Framework (SPF) 0.1.2 through 0.1.4 allow remote attackers to hijack the authentication of administrators for requests that conduct (1) shell metacharacter or (2) SQL injection attacks or (3) send an SMS m...

CVE-2012-5696
Published: 2014-10-20
Bulb Security Smartphone Pentest Framework (SPF) before 0.1.3 does not properly restrict access to frameworkgui/config, which allows remote attackers to obtain the plaintext database password via a direct request.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.