Descrizione
The RouterOS outbound SSH client in "/system ssh" and "/system ssh-exec" accepts unrelated cryptographically valid server host keys during key exchange without verifying that the key belongs to the requested endpoint, persisting trust on first use, comparing against a known-host entry, or requiring a pinned fingerprint. An attacker positioned to receive or redirect an outbound RouterOS SSH connection can impersonate the intended server, capture the supplied username and password, and return attacker-selected command output with a false success status.This issue was fixed in version 7.25
Tipo di vulnerabilità
CWE-322
Key Exchange without Entity Authentication
The product performs a key exchange with an actor without verifying the identity of that actor.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Ensure that proper authentication is included in the system design.
Sviluppo
Understand and properly implement all checks necessary to ensure the identity of entities involved in encrypted communications.
Tutte le 25 CVE di tipo CWE-322, con andamento e prevenzione