Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

03:12 PM
Connect Directly

Black Hat DC: Researchers To Release Web Development Platform Hacking Tool

Tool tests for newly discovered class of vulnerabilities in popular Apache, Sun, Microsoft Web development platforms

A technique used in Web application development platforms that provides a constant look-and-feel across multiple Web pages can potentially expose sensitive user data, such as credit-card numbers, according to researchers, who at next week's Black Hat DC will demonstrate a new class of vulnerabilities in Apache MyFaces, Sun Mojarra, and Microsoft ASP.NET. They will also release a tool that tests for the flaws.

The so-called "view state" technique in both the MyFaces and Mojarra frameworks can be exploited such that an attacker can view user data -- think username, password, and credit-card number -- that's temporarily stored on the server during a session. View state is basically a method for tracking changes to visual components on a Web page that lets the Web server update a Web page without moving from that page.

"This is a fairly complicated vulnerability," says David Byrne, senior security consultant with Trustwave's SpiderLabs. "View state is something most people have heard of, but they aren't familiar with its inner workings. The tool we're going to release will help reveal those inner workings."

Byrne and colleague Rohini Sulatycki, security consultant with Trustwave SpiderLabs, will demonstrate the types of attacks that can be waged using this class of vulnerabilities. Meanwhile, Trustwave will release a security advisory about the vulnerabilities, along with steps to prevent them from exploitation.

"This is the first time a vulnerability of this nature has been discovered," Byrne says. Until now, developers have had the option of deploying best practices offered by all three framework vendors in how they configure the framework.

"But [some developers] haven't taken these recommendations seriously because there weren't any specific vulnerabilities associated with them before. Our findings demonstrate that these best practices are there to protect you," he says. "Organizations already following them will not be affected by this [type of vulnerability or attack]."

The best protection is to encrypt view state so data can't be read or modified, he says.

Apache MyFaces and Sun Mojarra can be exploited to read session data stored on the server while a user is interacting with a Website, while Microsoft ASP.NET has a less-critical vulnerability that could result in a cross-site scripting (XSS) attack, the researchers say.

Aside from XSS, the view-state attacks could be initiated via a phishing email, for instance. "Users would be tricked into visiting a malicious link pointed at the actual Website. This allows attackers to read information about [the users] in the server. So in a banking application, they would be able to read account numbers and credit card numbers," Byrne says.

And all it would take for a targeted attack would be pilfering the user's credentials to do further damage, he says. "View state would be a viable mechanism for a targeted attack," he says.

The danger, he says, is when these attacks are able to grab brokerage or bank account data.

Even so, these attacks are not as common as a SQL injection or XSS attack. "SQL injection is still by far the most common mechanism for breaching Web apps. It's easy to find and exploit when you're attacking a merchant ... for the bulk extraction of credit card numbers," Byrne says.

There's no patch to fix these flaws, either. "All developers have to do is perform a configuration change," he says, and encrypt view state.

Byrne and Sulatycki's hacking tool basically displays the content in view state, which is typically hidden on the Web page. "The tool will also modify view state so that when a tester resubmits it to the application, it will display the session variable contents and response to the server. That helps show what data is accessible and [visible] through view state," Byrne says.

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 the Executive Editor of Dark Reading. 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


Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 7/6/2020
Ripple20 Threatens Increasingly Connected Medical Devices
Kelly Sheridan, Staff Editor, Dark Reading,  6/30/2020
DDoS Attacks Jump 542% from Q4 2019 to Q1 2020
Dark Reading Staff 6/30/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
How Cybersecurity Incident Response Programs Work (and Why Some Don't)
This Tech Digest takes a look at the vital role cybersecurity incident response (IR) plays in managing cyber-risk within organizations. Download the Tech Digest today to find out how well-planned IR programs can detect intrusions, contain breaches, and help an organization restore normal operations.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-07-07
MobileIron Core and Connector before, 10.4.x before, 10.5.x before, 10.5.2.x before, and 10.6.x before, and Sentry before 9.7.3 and 9.8.x before 9.8.1, allow remote attackers to execute arbitrary code via unspecified vectors.
PUBLISHED: 2020-07-07
MobileIron Core and Connector before, 10.4.x before, 10.5.x before, 10.5.2.x before, and 10.6.x before allow remote attackers to bypass authentication mechanisms via unspecified vectors.
PUBLISHED: 2020-07-07
MobileIron Core and Connector before, 10.4.x before, 10.5.x before, 10.5.2.x before, and 10.6.x before allow remote attackers to read files on the system via unspecified vectors.
PUBLISHED: 2020-07-07
In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using "contextIsolation" are affecte...
PUBLISHED: 2020-07-07
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not ...