← Biblioteca de vulnerabilidades

CVE-2026-85216

Contraseñas mal protegidas en misp

Crítica9.8Publicada 3 de sept de 2026 · Actualizada 10 de sept de 2026

En resumen

Un atacante remoto, sin usuario ni contraseña, podría tomar el control del sistema afectado sin que nadie haga nada.

Cómo se ataca

  • Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
  • 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.

Qué puede lograr el atacante

  • Leer información confidencial: datos, archivos o credenciales.
  • 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

  1. Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
  2. Aplique la actualización o la mitigación que indica el fabricante (enlaces abajo).
  3. Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
  4. Como pudo explotarse antes de corregirla, revise los registros del equipo en busca de accesos o cambios extraños.

Recomendaciones para este tipo de fallo

  • Guardar contraseñas con un algoritmo lento y con sal: Argon2id, bcrypt o scrypt.
  • Exigir contraseñas largas y bloquear las que aparecen en filtraciones conocidas.
  • Activar la autenticación de dos factores.
  • Cambiar las contraseñas afectadas si hubo una filtración.

A qué afecta

  • misp · misp

    hasta 2.5.45 inclusive

Qué es: Contraseñas mal protegidas o débiles

El sistema guarda o transmite contraseñas de forma recuperable, o permite contraseñas débiles, y un atacante las obtiene o las adivina.

Guardar contraseñas en texto plano, con cifrado reversible o con un resumen rápido (MD5, SHA-1 sin sal) permite recuperarlas si se filtra la base de datos. Permitir contraseñas como «123456» hace que se adivinen en minutos.

Guía completa: dónde aparece, cómo se corrige y qué evitar

Descripción oficial (en inglés)

MISP contains an authentication bypass vulnerability in its LDAP and LinOTP authentication components due to insufficient validation of user-supplied credentials. The custom LdapAuthenticate and LinOTPAuthenticate components replace CakePHP's FormAuthenticate implementation but did not replicate its credential validation checks. As a result, empty or non-string values could reach the underlying authentication mechanisms. In the LDAP authentication path, an attacker able to identify a valid directory user's email address could submit an empty password. The empty credential could be passed to ldap_bind(), where an LDAP server accepting unauthenticated binds may return a successful result for a valid distinguished name combined with an empty password. MISP could consequently treat the attacker as the corresponding authenticated directory user without verification of the user's password. The issue also affected the LinOTP authentication component. Invalid credential types were not rejected before being processed, and when mixed authentication was enabled, an empty password could be checked against a locally stored MISP password hash. LDAP-provisioned MISP accounts could additionally be created with an empty local password because account creation skipped normal validation, resulting in a hash corresponding to an empty password. This could permit authentication through the local fallback mechanism when such an account was no longer resolved through LDAP. Successful exploitation could allow a remote unauthenticated attacker to impersonate an existing MISP user. If the targeted account has administrative or other privileged permissions, the attacker could gain corresponding access to sensitive threat-intelligence data, modify or delete information, alter configuration, or perform other privileged operations. The patch resolves the vulnerability by requiring authentication identifiers and passwords to be valid strings, rejecting empty passwords where they are not explicitly permitted, and assigning a randomly generated local password to LDAP-provisioned accounts instead of storing a hash derived from an empty password.