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

7/17/2012
05:45 PM
50%
50%

Will Advanced Attackers Laugh At Your WAF?

Companies should not trust vendors' claims about Web application firewalls, says security engineer who at Black Hat USA will show 150 different ways attackers can get around Web defenses

Companies worried about their Web security cannot just deploy a Web application firewall (WAF) in front of their sites and call it a day. Using a variety of tricks -- including, in a few cases, just adding a single character -- a knowledgeable attacker could bypass the additional security offered by WAFs, according to research that will be presented at the Black Hat USA security conference next week.

   
Click here for more of Dark Reading's Black Hat articles.

From the simple handling of file names and path names, to more complex multipart and unicode parsing, different Web servers and security software handle the HTTP protocol in different ways. By exploiting the disconnect between a Web server and its WAF, an attacker could bypass defenses to exploit vulnerabilities in a Web server, says Ivan Ristic, director of engineering for vulnerability management firm Qualys, who will present his research at Black Hat.

"This is about attacking the way that a Web application firewall interprets data streams," says Ristic, who has developed WAFs for more than a decade, including the creation of the open-source WAF ModSecurity. "There has not been a good public discussion and disclosure of these issues, aside for the occasional vulnerability."

While there has not been a large number of attackers that have used evasion techniques to date, the increasing use of WAFs means that attackers will have to adapt and find ways around them. To help improve the ability of customers and penetration testers to gauge the security of WAFs, Ristic plans to release a set of nearly 150 tests for a variety of security weaknesses that he had identified in current WAFs.

Being able to test a vendor's product before deploying it could help immensely, says Paul Sop, technology evangelist for attack-mitigation firm Prolexic. His company tested a handful of systems and had little trouble bypassing all of them. For most companies, however, that level of evaluation will be out of their capabilities.

"There are many, many different attack vectors, and you have to kind of somehow know which attack vector maps to which features and how do you test it," he says. "How do you certify and prove that this control that you just activated actually works?"

[ Two researchers release a hacking tool called Waldo to test for WebSocket vulnerabilities and potential attack vectors, which will be demonstrated at Black Hat USA. See 'Waldo' Finds Ways To Abuse HTML5 WebSockets. ]

A strong set of tests could help customers check on vendors' claims and help vendors improve their systems, he says. In addition, many companies only turn on the features necessary to be PCI-compliant rather than tuning the WAF to their environment.

"To turn on a certain abstract feature of a WAF, you have to know a lot about the HTTP protocol and the application that you are protecting," Sop says. "If you don't turn on a protection for something, then it's not going to do anything."

Luckily, the run-of-the-mill attacker will likely not be dodging their target's WAF any time soon, says Qualys' Ristic. Designing evasions for WAFs requires a lot of knowledge about the systems, he says.

"These are advanced attacks, so the obvious attackers won't use them," he says. "Developing these types of attacks takes a lot of dedication. I would expect these evasion techniques to be used when a high-value target is involved."

The security technologies add an extra layer of security in front of a public website catching attacks against vulnerabilities that developers may have missed or that have gone unpatched. Overall, WAFs are a good security technology, but need a great deal more research, Ristic argues. In addition, vendors need to be more transparent regarding their technologies and products, he says.

"Users, in general, should make it clear to the vendors that they care about the quality in WAFs," he says. "I have been involved in WAF development for 10 years, but I'm disappointed by the current state of the market."

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

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
SOC 2s & Third-Party Assessments: How to Prevent Them from Being Used in a Data Breach Lawsuit
Beth Burgin Waller, Chair, Cybersecurity & Data Privacy Practice , Woods Rogers PLC,  12/5/2019
Navigating Security in the Cloud
Diya Jolly, Chief Product Officer, Okta,  12/4/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: "This is the last time we hire Game of Thrones Security"
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-19230
PUBLISHED: 2019-12-09
An unsafe deserialization vulnerability exists in CA Release Automation (Nolio) 6.6 with the DataManagement component that can allow a remote attacker to execute arbitrary code.
CVE-2013-0342
PUBLISHED: 2019-12-09
The CreateID function in packet.py in pyrad before 2.1 uses sequential packet IDs, which makes it easier for remote attackers to spoof packets by predicting the next ID, a different vulnerability than CVE-2013-0294.
CVE-2014-0242
PUBLISHED: 2019-12-09
mod_wsgi module before 3.4 for Apache, when used in embedded mode, might allow remote attackers to obtain sensitive information via the Content-Type header which is generated from memory that may have been freed and then overwritten by a separate thread.
CVE-2015-3424
PUBLISHED: 2019-12-09
SQL injection vulnerability in Accentis Content Resource Management System before the October 2015 patch allows remote attackers to execute arbitrary SQL commands via the SIDX parameter.
CVE-2015-3425
PUBLISHED: 2019-12-09
Cross-site scripting (XSS) vulnerability in Accentis Content Resource Management System before October 2015 patch allows remote attackers to inject arbitrary web script or HTML via the ctl00$cph_content$_uig_formState parameter.