CVE-2026-50252
Integridad no verificada en Unbound
En resumen
Un atacante en la misma red podría modificar información o el sistema sin que nadie haga nada.
Cómo se ataca
- Se puede atacar desde la misma red local o segmento.
- No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
- No necesita usuario ni contraseña.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
- Puede afectar a otros componentes además del vulnerable (por ejemplo, salir del navegador o de una máquina virtual).
Qué puede lograr el atacante
- Modificar información o el sistema; en los casos graves, ejecutar sus propios programas.
- Dejar el servicio o el equipo sin funcionar.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante (enlaces abajo).
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
Recomendaciones para este tipo de fallo
- Aplicar la actualización del fabricante.
- Para quien desarrolla: firmar y verificar actualizaciones y mensajes, comprobar el origen (Origin) en WebSockets y postMessage, y usar canales cifrados y autenticados.
A qué afecta
NLnet Labs · Unbound
desde 1.4.22 hasta antes de 1.25.2
Qué es: Verificación insuficiente del origen o la integridad de los datos
El sistema no comprueba que los datos vengan de quien dicen ni que no hayan sido alterados, y el atacante entrega datos o actualizaciones falsas.
Una actualización que se descarga sin verificar su firma, un mensaje de otra aplicación o de otro sitio que se acepta sin comprobar su origen, o un WebSocket que acepta conexiones de cualquier página. El atacante sustituye los datos legítimos por los suyos.
Guía completa: dónde aparece, cómo se corrige y qué evitarDescripción oficial (en inglés)
In NLnet Labs Unbound 1.4.22 up to and including 1.25.1, UDP source port is randomized and intended to serve as a secret value that increases the entropy of DNS transactions. When resolver load balancing policies depend on the source port while their outcome is revealed this secrecy is undermined. The vulnerability arises when the load balancing policy is consistent with respect to the incoming source UDP port and IP address while heavily depending on the incoming source UDP port as a randomization source. When the SO_REUSEPORT configuration option is enabled ('so-reuseport: yes') in Unbound (by default), it meets these conditions, making it vulnerable for DNS cache poisoning attacks. Upon startup, Unbound randomly partitions the available UDP source port space into disjoint subsets of (almost) equal size, assigning each subset to a specific worker thread. When an incoming DNS query is received, the kernel’s SO_REUSEPORT load balancing mechanism deterministically assigns the query to a socket associated with a particular thread. All outgoing DNS queries generated during the resolution of that request use source ports selected exclusively from the port subset assigned to the corresponding thread. Since these port subsets are disjoint across threads, the source port observed in a resolver’s outgoing query to an authoritative name server serves as a reliable indicator of the worker thread that processed the original client query. A malicious actor can acquire the mapping between incoming UDP source ports (for a given fixed source IP address) and Unbound worker threads and leverage it to conduct DNS cache poisoning attacks by effectively lowering the random port population per thread.