RouterOS contains an argument-handling flaw in the SSH login
path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 6
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Mikrotik Routeros
cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
|
7.24
|
7.24.2
|
|
Mikrotik Routeros
cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
|
7.0.0
|
7.23.4
|
|
Mikrotik Routeros
cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
|
6.0.0
|
6.49.21
|
|
Mikrotik Routeros
cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
|
6.0
|
6.49.21
|
|
Mikrotik Routeros
cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
|
7.0
|
7.23.4
|
|
Mikrotik Routeros
cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
|
7.24
|
7.24.2
|