← Biblioteca de vulnerabilidades

CVE-2026-102508

Validación de certificados en Apache PLC4X

Crítica9.2Publicada 30 de sept de 2026 · Actualizada 30 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.
  • Depende de que el sistema esté en una configuración o estado particular.
  • 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.
  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

  • No desactivar la verificación (verify=False, rejectUnauthorized: false, TrustAllCerts).
  • Comprobar el nombre del servidor y la cadena de confianza.
  • Aplicar la actualización del fabricante.

A qué afecta

  • Apache Software Foundation · Apache PLC4X

    desde 0.9.0 hasta antes de 1.0.0

Qué es: Validación incorrecta de certificados

El programa acepta cualquier certificado en una conexión cifrada, y un atacante en la red se hace pasar por el servidor (ataque de intermediario).

Para «que funcione», se desactiva la verificación del certificado o no se comprueba que el nombre coincida. La conexión sigue viéndose cifrada, pero cualquiera en el camino (Wi-Fi pública, red comprometida) puede presentar su propio certificado y leer o cambiar todo.

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

Descripción oficial (en inglés)

Improper Verification of Cryptographic Signature and Improper Certificate Validation in the OPC UA driver of Apache PLC4X (PLC4J) allows an attacker in a network position between client and server to impersonate the OPC UA server and to read, forge or modify secure-channel traffic, including user credential ssent by the client. The defect manifests differently depending on the version: - In 0.9.0 through 0.11.0 a failed message-signature check is only logged and never enforced, and there is no mechanism to verify the server certificate: it is taken from the unauthenticated GetEndpoints discovery response and used to encrypt the user's password. - In 0.12.0 through 0.13.1 the signature check is inverted (valid signatures are rejected, invalid ones accepted), and server certificates are accepted without a trust anchor by default. - In all affected versions the default security policy is None. Starting with 0.12.0 the driver additionally continues silently at a weaker security policy than the one configured, and starting with 0.13.0 endpoint selection prefers the weakest matching endpoint. Users checking only for one of these mechanisms may wrongly conclude they are unaffected. This issue affects Apache PLC4X: from 0.9.0 before 1.0.0. Users are recommended to upgrade to version 1.0.0, which fixes the issue. Version 1.0.0 verifies message signatures correctly, refuses to connect unless the server certificate can be verified against a configured trust store or pinned certificate, defaults to Basic256Sha256 with SignAndEncrypt, and fails the connection if the negotiated security policy is weaker than the configured one.