Web Application Firewall

From OWASP
Revision as of 09:34, 6 January 2012 by Thibault Koechlin (Talk | contribs)

Jump to: navigation, search

This is a countermeasure. To view all countermeasures, please see the Countermeasure Category page.

Description

A web application firewall (WAF) is an appliance, server plugin, or filter that applies a set of rules to an HTTP conversation. Generally, these rules cover common attacks such as Cross-site Scripting (XSS) and SQL Injection. By customizing the rules to your application, many attacks can be identified and blocked. The effort to perform this customization can be significant and needs to be maintained as the application is modified.

A far more detailed description is available at Wikipedia

Strengths and Weaknesses

Important Selection Criteria

  • Protection Against OWASP Top Ten!
  • Very Few False Positives (i.e., should NEVER disallow an authorized request)
  • Strength of Default (Out of the Box) Defenses
  • Power and Ease of Learn Mode
  • Types of Vulnerabilities it can prevent.
  • Detects disclosure and unauthorized content in outbound reply messages, such as credit-card and Social Security numbers.
  • Both Positive and Negative Security model support.
  • Simplified and Intuitive User Interface.
  • Cluster mode support.
  • High Performance (milliseconds latency).
  • Complete Alerting, Forensics, Reporting capabilities.
  • Web Services\XML support.
  • Brute Force protection.
  • Ability to Active (block and log), Passive (log only) and bypass the web trafic.
  • Ability to keep individual users constrained to exactly what they have seen in the current session
  • Ability to be configured to prevent ANY specific problem (i.e., Emergency Patches)
  • Form Factor: Software vs. Hardware (Hardware generally preferred)


You may also use Best Practices: Use of Web Application Firewalls to find out where and when to use a WAF and/or you may find the Web Application Firewall Evaluation Criteria useful for evaluating the performance and other characteristics of a WAF.

The London Chapter WAF event held in 2006 has some comparative info amongst the WAF Vendors that participated in the event.

OWASP Tools Of This Type

The OWASP Stinger Project is not a full blown WAF, but it is a strong Java/J2EE input validation filter that can be put in front of your application.

  • NAXSI is a WAF for NGINX.

Well Known Open Source Tools Of This Type

A recent new project by Qualys led by Ivan Ristic, the original ModSecurity author

Commercial Tools from OWASP Members Of This Type

These vendors have decided to support OWASP by becoming members. OWASP appreciates the support from these organizations, but cannot endorse any commercial products or services.

Other Well Known Commercial Tools Of This Type

Related Threats

Related Attacks

Related Vulnerabilities

Related Countermeasures