On this page
Atomicorp WAF Rule 330793
Rule Summary
- Rule ID: 330793
- Status: Active
- Alert message: Multipart request body failed strict validation: PE %{REQBODY_ERROR}, BQ %{MULTIPART_BOUNDARY_QUOTED}, BW %{MULTIPART_BOUNDARY_WHITESPACE}, DB %{MULTIPART_DATA_BEFORE}, DA %{MULTIPART_DATA_AFTER}, HF %{MULTIPART_HEADER_FOLDING}, LF %{MULTIPART_LF_LINE}, SM %{MULTIPART_SEMICOLON_MISSING}, IQ %{MULTIPART_INVALID_QUOTING}, IH %{MULTIPART_INVALID_HEADER_FOLDING}, IP %{MULTIPART_INVALID_PART}, FL %{MULTIPART_FILE_LIMIT_EXCEEDED}
- Observed CWEs: None documented
- Revision: 3
- Rule severity: Critical (2)
- Phase: 2 (request body)
- Rule action: deny
- HTTP status: 403
- Logging: log, auditlog
Description
This is not a rule. This is an internal error from the multipart assembly engine in the WAF.
When this error occurs, the alert will also include a line similar to this:
msg “Multipart request body failed strict validation: PE 0, BQ 0, BW 0, DB 0, DA 0, HF 0, LF 0, SM , IQ 1, IH 0, IP 0, FL 0
Each capitalized two letter combination indicates what the specific invalid condition, or conditions are for the invalid multipart request. A “0” means that error does not exist, a “1” means that error does. So in the example above the invalid request has an IQ error. These are further documented below:
| Code | Error |
|---|---|
| PE | REQBODY_PROCESSOR_ERROR |
| BQ | MULTIPART_BOUNDARY_QUOTED |
| BW | MULTIPART_BOUNDARY_WHITESPACE |
| DB | MULTIPART_DATA_BEFORE |
| DA | MULTIPART_DATA_AFTER |
| HF | MULTIPART_HEADER_FOLDING |
| LF | MULTIPART_LF_LINE |
| SM | MULTIPART_SEMICOLON_MISSING |
| IQ | MULTIPART_INVALID_QUOTING |
| IH | MULTIPART_INVALID_HEADER_FOLDING |
| IP | MULTIPART_INVALID_PART |
| FL | MULTIPART_FILE_LIMIT_EXCEEDED |
False Positives
None. There are no valid conditions when this can occur. If you are seeing this error, it means the multi-part request is invalid.
Tuning Guidance
None. Do not disable this rule. This will allow attackers to bypass the WAF. Instead you should investigate your application, server and client to determine which specific type of issue this multipart message has and why the client, application or server is generating these invalid messages.
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 330793
- Source revision: 5014
- Source revision date: 2014-08-12