Descrizione
Waitress through version 1.3.1 allows request smuggling by sending the Content-Length header twice. Waitress would header fold a double Content-Length header and due to being unable to cast the now comma separated value to an integer would set the Content-Length to 0 internally. If two Content-Length headers are sent in a single request, Waitress would treat the request as having no body, thereby treating the body of the request as a new request in 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