CyberRota Analysis
AI-GeneratedRouterOS is vulnerable due to improper validation of RSA public keys during SSH authentication, allowing attackers to forge valid signatures and gain unauthorized access to the SSH command channel as an authorized user. This critical vulnerability poses a significant risk to any organization using affected RouterOS versions, particularly those managing sensitive infrastructure or data. Users should prioritize upgrading to versions 6.49.21, 7.23.4, or 7.24.2 to mitigate this threat.
Original NVD Description
RouterOS does not compare the complete RSA public key when matching an SSH authentication request to an authorized user key, checking the key type and modulus but omitting the exponent. Because signature verification uses the client-supplied key, an attacker knowing an authorized RSA modulus can supply a key with exponent one, forge a valid signature, and open an SSH command channel as the target user without the private key.This issue affects only 7.x branch was fixed in versions: 7.23.4 (Long-term) and 7.24.2 (Stable)