Descrizione
yt-dlp is a youtube-dl fork with additional features and fixes. The Generic Extractor in yt-dlp is vulnerable to an attacker setting an arbitrary proxy for a request to an arbitrary url, allowing the attacker to MITM the request made from yt-dlp's HTTP session. This could lead to cookie exfiltration in some cases. Version 2023.11.14 removed the ability to smuggle `http_headers` to the Generic extractor, as well as other extractors that use the same pattern. Users are advised to upgrade. Users unable to upgrade should disable the Ggneric extractor (or only pass trusted sites with trusted content) and ake caution when using `--no-check-certificate`.
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 454 CVE di tipo CWE-444, con andamento e prevenzione