In-depth lesson · Parser differentials
Tips for beginners
Every point the Parser differentials reports back under this heading, best-backed first, each with the reports it is seen in.
-
Keep notes on which parser is which. When you write up, state the front end, the backend, the exact grammar difference and the observed consequence. The evidence is full of specific parser behaviours, so a report that names the components and the disagreement is far more useful than one that says smuggling is possible.
Seen in 10 reports
-
Start by fingerprinting the stack. Look at response headers and behaviour to work out which front end and which backend are in use. The evidence points to Node.js and llhttp, Apache mod_proxy with HTTP/2, mod_proxy_ajp, and Tomcat trailers as recurring settings, so those are sensible places to begin if you see them.
Seen in 8 reports
-
Do not stop at HTTP. Submit Unicode characters that look like ASCII letters or digits in fields that are later displayed or used for identity, and check whether the application normalises or rejects them. Enter an internationalised domain name that renders like a trusted domain in messages, about pages and talk sections, and check whether the UI shows the punycode form or warns the user.
Seen in 5 reports
-
Show impact, not just a difference. A parser disagreement on its own is not a vulnerability. Demonstrate a concrete consequence: a blocked admin path reached, a session cookie or token leaked to a host you control, a validation rule bypassed, or an account created that is visually indistinguishable from another. The reports tie smuggling to redirecting the victim's connection and leaking cookies, and tie Unicode gaps to identity confusion.
Seen in 4 reports
-
Avoid reporting out of scope or no impact. Do not report a third-party parser bug unless the programme covers that component, and do not report a differential that only produces a different error message. Check whether the behaviour is already known or fixed in the version you are testing, and keep your proof minimal and reproducible.
Seen in 4 reports
-
Test one grammar difference at a time. Send a request where a header contains a space or tab before the colon, or where a Transfer-Encoding header contains a space or tab, and compare how the front end and backend treat the body. Keep a baseline request so you can tell whether a difference is real or just an error page.
Seen in 3 reports
-
Try duplicate and multi-line length headers. Send two Transfer-Encoding headers with different values, or a multi-line Transfer-Encoding header, and observe whether the front end and backend disagree on request boundaries. The reports show Node.js using the first value while a proxy uses the last, and multi-line headers causing disagreement.
Seen in 3 reports
-
Before testing, confirm scope. Parser differential testing often involves sending malformed requests to shared infrastructure, so check whether the proxy, CDN or WAF is in scope as well as the application. A report about a third-party component outside the programme's scope is a common mistake and will not be paid.
-
Probe chunked encoding and trailers. Send a chunked request with a newline inside a chunk extension through a proxy that blocks a path, and check whether the backend reaches it. Send a trailer line without a colon followed by a second request and see whether the backend treats part of it as a trailer. These are concrete tests from the evidence, not generic fuzzing.
Seen in 2 reports
-
Check delimiter strictness. Send requests that do not use the exact CRLF sequence to delimit header fields, or that use a non-standard header block terminator, and see whether the parser accepts them as boundaries. A parser that is lenient here may disagree with a stricter proxy in front of it.
Seen in 2 reports
-
If HTTP/2 is enabled, test the downgrade path. Send an HTTP/2 request whose method pseudo-header contains a space and extra request-line text, and check whether the proxy forwards a malformed request line to the backend. This is specific to mod_proxy with HTTP/2 enabled, so confirm the version first.
Seen in 1 report
-
For AJP backends, compare request boundary handling between mod_proxy_ajp and the AJP server. The evidence shows they parsed boundaries differently, which is enough for smuggling. Only test this if you have a legitimate AJP path in scope.
Seen in 1 report