GHSA-j9wg-77fw-f22fCritical

RouterOS does not compare the complete RSA public key when matching an SSH authentication request...

Published
September 5, 2026
Last Modified
September 5, 2026

🔗 CVE IDs covered (1)

📋 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 was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

🔗 References (9)