PT-2026-86451 · Mikrotik · Routeros
CVSS v4.0
9.2
Critical
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
RouterOS versions prior to 6.49.21
RouterOS versions prior to 7.23.4
RouterOS versions prior to 7.24.2
Description
An authentication bypass exists in the SSH public key verification process. The system fails to compare the complete RSA public key when matching an authentication request to an authorized user key, verifying only the key type and modulus while omitting the exponent. An attacker who knows an authorized RSA modulus can provide a key with an exponent of one to forge a valid signature and open an SSH command channel as the target user without possessing the private key. This issue has been exploited in the wild.
Recommendations
Update to version 6.49.21 (Long-term).
Update to version 7.23.4 (Long-term).
Update to version 7.24.2 (Stable).
Exploit
Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Routeros