feature uses a black list of signatures that are known to make Web applications vulnerable. New updates to these signatures are periodically downloaded
from a SonicWall Inc. signature database server, providing protection from recently introduced attacks.
How signatures are used to prevent attacks
When input arrives from the Internet, Web Application Firewall inspects HTTP/HTTPS request headers, cookies, POST data, query strings, response
headers, and content. It compares the input to both a black list and a white list of signatures. If pattern matching succeeds for any signature, the event is
logged and/or the input is blocked if so configured. If blocked, an error page is returned to the client and access to the resource is prevented. If blocked,
an error page is returned to the client and access to the resource is prevented. The threat details are not exposed in the URL of the error page. If
configured for detection only, the attack is logged but the client can still access the resource. If no signature is matched, the request is forwarded to the
Web server for handling.
What happens when no signature is matched
The Web Application Firewall process is outlined in the following flowchart.
Web Application Firewall process
In the case of a blocked request, the following error page is returned to the client:
This page is customizable under Web Application Firewall > Settings in the Secure Mobile Access management interface. Some administrators might
want to customize the HTML contents of this page. Others might not want to present a user friendly page for security reasons. Instead, they might prefer
the option to present an HTTP error code such as 404 (Not found) or 403 (Access Denied).
How is Cross-Site Request Forgery Prevented?
CSRF attacks are not detected with signature matching. Using this vulnerability, a hacker disguised as the victim can gain unauthorized access to
application even without stealing the session cookie of a user. While a victim user is authenticated to a Web site under attack, the user can unwittingly load
a malicious Web page from a different site within the same browser process context, for instance, by launching it in a new tab part of the same browser
window. If this malicious page makes a hidden request to the victim Web server, the session cookies in the browser memory are made part of this request
making this an authenticated request. The Web server serves the requested Web page as it assumes that the request was a result of a user action on its site.