Vulnerabilities / Threats
2/20/2009
01:34 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%
Repost This

New XSS Attack Builds An Anonymous Network

Black Hat DC researchers demonstrate new cross-site scripting browser hack that lets attackers retrieve data without a trace

A pair of researchers has combined cross-site scripting (XSS) and anonymization techniques to build a framework that lets an attacker gather Web content incognito.

"Our goal was to retrieve Web content anonymously," says Matthew Flick, principal with FYRM Associates, who, along with fellow researcher Jeff Yestrumskas, demonstrated the XSS Anonymous Browser (XAB) framework at Black Hat DC yesterday. "We [said], 'Why don't we volunteer people for our network?'...Cross-site scripting can make people do things we want."

The framework uses the victim as a cover for an attack. "It's basically an agentless botnet...there's no trace of our code on their system," says Flick, who adds such an attack would likely have legal ramifications. "It's a decent way of hiding your tracks."

The researchers demonstrated their proof of concept, but did not release any code. They acknowledged that XSS and anonymization make an unlikely couple. "Putting anonymity and cross-site scripting together is unusual," Flick said during the pair's demo.

In a nutshell, the attack turns an unsuspecting user's browser into an anonymous browsing tool for the attacker, who then can silently abuse the browser to access Web content he doesn't want traced to him, such as porn or a site for espionage or theft purposes.

The attack works like this: The XAB attacker first exploits an XSS-vulnerable Website and injects his initial malicious payload. When the victim visits the site, he's hit with that malware, which then infects the user's browser with another piece of malware. That second infection includes a link to the XAB proxy tool and instructions for the unsuspecting victim's browser, such as which URLs to visit. The proxy then requests the URL and content from the targeted Website. The victim's browser sends the data back to the attacker's site.

The researchers admit their XAB framework has some inherent weaknesses, however, that could render it ineffective. Among its shortcomings: The attack doesn't properly access images due to the way browsers treat nontext data, they said.

Among the next features the researchers plan to add to XAB are the ability to commission simultaneous requests of the victim's browser, binary data transfer, and data encryption.

"XAB [uses] the browser as an attack vector," said Yestrumskas, who is senior manager of information security at Cvent.

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 Senior 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 Magazine, ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-1421
Published: 2014-04-22
Cross-site scripting (XSS) vulnerability in Craig Knudsen WebCalendar before 1.2.5, 1.2.6, and other versions before 1.2.7 allows remote attackers to inject arbitrary web script or HTML via the Category Name field to category.php.

CVE-2013-2105
Published: 2014-04-22
The Show In Browser (show_in_browser) gem 0.0.3 for Ruby allows local users to inject arbitrary web script or HTML via a symlink attack on /tmp/browser.html.

CVE-2013-2187
Published: 2014-04-22
Cross-site scripting (XSS) vulnerability in Apache Archiva 1.2 through 1.2.2 and 1.3 before 1.3.8 allows remote attackers to inject arbitrary web script or HTML via unspecified parameters, related to the home page.

CVE-2013-4116
Published: 2014-04-22
lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.

CVE-2013-4472
Published: 2014-04-22
The openTempFile function in goo/gfile.cc in Xpdf and Poppler 0.24.3 and earlier, when running on a system other than Unix, allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names.

Best of the Web