Malformed β Cookie Handling
| Test ID | COOK-MALFORMED |
| Category | Cookies |
| Scored | No |
| RFC Level | N/A |
| Expected | 2xx or 400 |
What it sends
Completely malformed cookie value (===;;;) β tests parser crash resilience.
GET /echo HTTP/1.1\r\n
Host: localhost:8080\r\n
Cookie: ===;;;\r\n
\r\n
Why it matters
Garbage cookie values with no valid key=value structure can crash naive parsers that split on = without bounds checking.
Verdicts
- Pass β 2xx or 400
- Fail β 500 (crash)
Sources
- RFC 6265 Β§5.4 β Cookie header
Http11Probe β HTTP/1.1 compliance & smuggling testerSource on GitHub