Skip to content

In-depth lesson · Parser differentials

Root causes

Every point the Parser differentials reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 12 of 12
  1. The application did not validate or normalise Unicode characters before display, so homograph strings passed through unchanged.

    Seen in 5 reports
  2. The front end did not recognise a Transfer-Encoding header containing a space or tab and fell back to Content-Length while the backend accepted it as chunked.

    Seen in 2 reports
  3. Node.js converted a carriage return inside a header name into a hyphen instead of rejecting the malformed header.

    Seen in 1 report
  4. The Node.js parser did not reject or normalise duplicate Transfer-Encoding headers and processed only the first.

    Seen in 1 report
  5. The parser accepted whitespace between a header field name and the colon, contrary to the specification.

    Seen in 1 report
  6. The llhttp parser did not validate characters in a chunk extension, allowing a newline that a front-end proxy treated as a request boundary.

    Seen in 1 report
  7. Apache mod_proxy with HTTP/2 enabled did not reject spaces in the method pseudo-header before downgrading to HTTP/1.1.

    Seen in 1 report
  8. String manipulation functions did not sanitise hexadecimal escape sequences that decode to carriage return and line feed, allowing header injection.

    Seen in 1 report
  9. mod_proxy_ajp parsed HTTP request boundaries differently from the backend AJP server.

    Seen in 1 report
  10. The llhttp parser did not strictly enforce the CRLF sequence as the delimiter for header fields.

    Seen in 1 report
  11. Tomcat's trailer parser skipped lines without a colon until it found a valid header, causing a mismatch with the front-end proxy.

    Seen in 1 report
  12. The parser accepted a non-standard header block terminator instead of requiring the exact double CRLF sequence.

    Seen in 1 report