Descrizione
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.12 on 3.x and 2.16.1 on 2.x, the client infers that an HTTP proxy tunnel exists from the last request method rather than the CONNECT result. After a proxy rejects CONNECT, redirect or authentication handlers can write an origin request and its Authorization credentials onto the still-plaintext proxy connection. Basic credentials can be recovered directly, while NTLM responses may be cracked or relayed. This issue is fixed in versions 3.0.12 and 2.16.1.
Tipo di vulnerabilità
CWE-319
Trasmissione in chiaro di informazioni sensibili
Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle, Altro |
Come si previene
Architettura e progettazione
Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo
When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo
When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test
Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio
Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.
Tutte le 940 CVE di tipo CWE-319, con andamento e prevenzione