Waldo Finds Ways To Abuse HTML5 WebSockets

  /     /     /  
Publicated : 22/11/2024   Category : security


Waldo Finds Ways To Abuse HTML5 WebSockets


Black Hat USA researchers to release free hacking tool and demonstrate how new communication channel could be used for XSS, denial-of-service, and hiding malicious or unauthorized traffic



With new features come new risks, and HTML5 is no exception: Its WebSocket feature opens the door for a wide range of abuses by attackers, researchers will demonstrate next week at Black Hat USA.
Sergey Shekyan and Vaagn Toukharian also will release a hacking tool called Waldo for researchers to test for WebSocket vulnerabilities and potential attack vectors. WebSocket is basically a faster, more efficient way for browsers and Web servers to communicate (bidirectionally); it supports real-time applications, such as customer-support chat features and online gaming, for example. Most major browsers support it.
The problem is that todays firewalls, next-generation firewalls, unified threat management (UTM), and IDS/IPS products are not WebSocket-aware, the researchers say. In other words, they cant detect WebSocket traffic: Nobody monitors it: We think thats the scariest part, says Shekyan, who is a senior software engineer.
WebSocket could be used for anonymized, TOR-type peer-to-peer communication, for example, as well as a platform for attacks, such as cross-site scripting (XSS) and denial-of-service, the researchers say. The good news is that WebSocket so far is deployed in a small percentage of websites today, only around 1 percent, according to their research.
Waldo is a simple tool based on the Websocketpp server that shows how easy it is to abuse WebSocket on both the client and server side as a malicious communication channel, they say. It currently runs on OS X and most flavors of Linux.
Our tool is doing malicious things, like delivering commands to a compromised browser to steal cookies and keystrokes, copy documents, and then send them back to us, Shekyan says.
[ HTML5 could help spur SQL injection attacks on client machines, experts say. See
New HTML Version Comes With Security Risks Of Its Own
. ]
An attacker could launch a XSS exploit against a website to hijack its customer-support chat application, for instance. Many of these chat apps are supplied by a third party. Its using SSL, and everything seems fine. But the main page is not from the same Web server as the one serving up the chat, and its using plain HTTP, Shekyan says. An attacker then could execute a man-in-the-middle attack and modify the main page, intercept traffic from the browser, and pose as the customer service rep online, requesting the customers personal information.
Toukharian, who is a developer for Qualys Web application scanner, says its not the WebSocket protocol thats vulnerable: Its the way organizations are implementing it. All XSS and other vulnerabilities and man-in-the-middle WebSocket connections are weaker from the client side. The problem here is the security design of the entire Web app, he says.
From the client side, an attacker could DoS a server from a single browser because WebSocket supports 1,000 concurrent sessions. A number of simultaneous browser connections can be opened, which can be a problem, Toukharian says.
The researchers say perimeter security vendors dont consider WebSocket a major threat for now.
They plan to share with Black Hat attendees new data they are gathering on WebSocket use around the Net. Were going to provide statistics on whos using it ... if its going over SSL or plain text and other usage trends, Shekyan says.
While adoption is fairly low today, WebSocket is attractive due to its persistent connection, low overhead, and faster performance, so the concern is that this could become a hot attack vector once adoption rises. And if such attacks are under way today, they wouldnt be detectable from todays security tools, the researchers say.
Have a comment on this story? Please click Add Your Comment below. If youd like to contact
Dark Readings
editors directly,
send us a message
.

Last News

▸ Hack Your Hotel Room ◂
Discovered: 23/12/2024
Category: security

▸ Website hacks happened during World Cup final. ◂
Discovered: 23/12/2024
Category: security

▸ Criminal Possession of Government-Grade Stealth Malware ◂
Discovered: 23/12/2024
Category: security


Cyber Security Categories
Google Dorks Database
Exploits Vulnerability
Exploit Shellcodes

CVE List
Tools/Apps
News/Aarticles

Phishing Database
Deepfake Detection
Trends/Statistics & Live Infos



Tags:
Waldo Finds Ways To Abuse HTML5 WebSockets