SSH user impersonation possible in Mikrotik RouterOS
2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. Fixed in RouterOS 7.24.2 and RouterOS 7.23.4.
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)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MikroTik | RouterOS | >=7.24 <7.24.2, >=7.9 <7.23.4 | 7.24.2, 7.23.4 |
Exploit evidence
2 public sources
Coverage
News and research mentioning this CVE
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in RouterOS, strongest first
Embed
A live severity badge for an advisory, README or ticket