Descrizione
Netgate pfSense CE from 2.7.1 through 2.9.0 and Plus through 26.07 contains a CRLF injection vulnerability in services_unbound_advanced.php that allows authenticated users with DNS Resolver: Advanced privilege to inject Unbound directives. Attackers can embed CR/LF characters in the unvalidated sock_queue_timeout parameter, which is written raw into unbound.conf, to override local records and forwarding for all clients.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Pfsense Pfsense: vulnerabili le versioni dalla
2.7.1fino alla2.9.0inclusa → aggiornare a una release successiva alla2.9.0.
Patch e advisory
- Advisory di terze parti: github.com/abraxas/pfsense-unbound-sock-timeout
- Advisory di terze parti: www.vulncheck.com/advisories/netgate-pfsense-ce-2.7.1-…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Pfsense | Pfsense | ≥ 2.7.1 ≤ 2.9.0 | — |
Riferimenti
- Advisory di terze partihttps://github.com/abraxas/pfsense-unbound-sock-timeout
- Advisory di terze partihttps://www.vulncheck.com/advisories/netgate-pfsense-ce-2.7.1-through-2.9.0-crlf-injection-via-services-unbound-advanced-php
- Riferimentohttps://abraxaslabs.tech/research/pfsense-ce-leftovers
- Riferimentohttps://docs.netgate.com/downloads/pfSense-SA-26_41.webgui.asc
- Riferimentohttps://docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html
- Riferimentohttps://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/unbound.inc#L590
- Riferimentohttps://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/services_unbound_advanced.php#L178
- Riferimentohttps://redmine.pfsense.org/issues/17243