Descrizione
Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string value, if that value was not chunked it would fall through and use the Content-Length header instead. According to the HTTP standard Transfer-Encoding should be a comma separated list, with the inner-most encoding first, followed by any further transfer codings, ending with chunked. Requests sent with: "Transfer-Encoding: gzip, chunked" would incorrectly get ignored, and the request would use a Content-Length header instead to determine the body size of the HTTP message. This could allow for Waitress to treat a single request as multiple requests in the case of HTTP pipelining. This issue is fixed in Waitress 1.4.0.
Tipo di vulnerabilità
CWE-444
HTTP request smuggling: interpretazione incoerente delle richieste HTTP
Il prodotto fa da intermediario HTTP (proxy, firewall) tra client e server, ma interpreta le richieste o risposte malformate in modo diverso da come le interpreterà la destinazione finale: un attaccante può così far passare richieste nascoste.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Non ripudio, Controllo degli accessi |
Stato imprevisto, Nascondere le proprie attività, Aggirare i meccanismi di protezione |
Come si previene
Sviluppo
Use a web server that employs a strict HTTP parsing procedure, such as Apache.
Sviluppo
Use only SSL communication.
Sviluppo
Terminate the client session after each request.
Configurazione del sistema
Turn all pages to non-cacheable.
Tutte le 452 CVE di tipo CWE-444, con andamento e prevenzione