Descrizione
Jenkins 2.442 through 2.554 (both inclusive), LTS 2.426.3 through LTS 2.541.2 (both inclusive) performs origin validation of requests made through the CLI WebSocket endpoint by computing the expected origin for comparison using the Host or X-Forwarded-Host HTTP request headers, making it vulnerable to DNS rebinding attacks that allow bypassing origin validation.
Tipo di vulnerabilità
CWE-350
Reliance on Reverse DNS Resolution for a Security-Critical Action
The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Use other means of identity verification that cannot be simply spoofed. Possibilities include a username/password or certificate.
Sviluppo
Perform proper forward and reverse DNS lookups to detect DNS spoofing.
Tutte le 26 CVE di tipo CWE-350, con andamento e prevenzione