On this page
Atomicorp WAF Rule 309925
Rule Summary
- Rule ID: 309925
- Status: Active
- Alert message: Atomicorp.com WAF Rules: Suspicious User-Agent, parenthesis closed with a semicolon %{REQUEST_HEADERS.User-Agent}
- Observed CWEs: None documented
- Revision: 6
- Rule severity: Critical (2)
- Phase: 2 (request body)
- Request surfaces: Request headers
- Rule action: deny
- HTTP status: 403
- Logging: inherited from SecDefaultAction
Description
This rules detects suspicious user agent strings. Specifically, it will detect if a user-agent strings ends with “;)”. This is not a pattern used by any browser (Safari, IE, Mozilla, Opera, etc.) or web library. Known browsers and web libraries, when they use the “;” character will use it outside the parentheses, for example using the pattern “);”.
The suspicious pattern is typically used by attackers and spammers when they make an error attempting to impersonate a legitimate user-agent. The WAF will detect these clients and will block them by default.
Examples:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)
Troubleshooting
False Positives
A false positive can occur if a web application ends the user-agent header with “;)”. We highly recommend you confirm this is legitimate behavior before disabling this rule. There are no known applications that do this, but plenty of malicious applications that do.
It is not recommended that you disable this rule if you have a false positive. If you believe this is a false positive, please report this to our security team to determine if this is a legitimate case, or if its clever attack on your system. Instructions to report false positives are detailed on the Reporting False Positives wiki page. If it is a false positive, we will fix the issue in the rules and get a release out to you promptly.
Tuning Guidance
Please see the Tuning the Atomicorp WAF Rules page for basic information.
Additional Information
Notes
Attackers will often use invalid client user-agent headers to try to trick web administrators and applications into trusting them, or to hide activity by pretending to be a legitimate user.
Selected Related CVEs
This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.
No selected related public CVE research notes are currently published.
Documentation Source
- Original wiki page: WAF 309925
- Source revision: 5086
- Source revision date: 2014-09-05