Skip to content
Topic

Keys and encryption

SSH and RSA keys, signatures, encryption, certificate validation: all dojo articles on this topic.

Image generated locally with ComfyUI from randomly selected elements. How the images are created

Illustrazione per Chiavi SSH sul MikroTik: entrare senza password (e perché conta)
Dojo

SSH keys on MikroTik: logging in without a password (and why it matters)

«If I already log in with a username and password, what do I need an SSH key for?» It's the first question everyone asks. The short answer is that the key isn't…

10 min read
Illustrazione per EC-SRP5: l'autenticazione WinBox sotto la lenteLab
Lab · RouterOS Under the Microscope

EC-SRP5: WinBox Authentication Under the Microscope

We captured the WinBox authentication handshake (port 8291) and analyzed the EC-SRP5 protocol, a PAKE (Password-Authenticated Key Exchange) based on a 2001 IEEE draft that never became a standard. MikroTik modified it with a double-hash and the use of the Weierstrass projective form, making it incompatible with any reference implementation. The password cannot be extracted from the handshake alone, but the user enumeration oracle is closed on v7.24.5 (always 51 bytes of response). We found confirmations in the binaries: libucrypto.so contains both WCurve (Weierstrass) and Curve25519 (Montgomery), and user contains MD5, SHA1, and SHA256 for password hashing.

Illustrazione per Certificati, CA e la catena di fiduciaKnowledge base
Knowledge base · Certificates

Certificates, CAs and the chain of trust

What a CA is, why certificates chain together (root, intermediate, leaf) and how a brand-new root is trusted from day one, DV vs OV/EV and why one is free and another costs hundreds, OCSP/CRL, Certificate Transparency, CAA, RSA vs ECDSA and who's behind Let's Encrypt — the certificate vocabulary put in order, verified in the lab.

Illustrazione per CVE-2026-67276: Bypass autenticazione SSH su RouterOS con chiave forgiataLab
Lab · CVE-2026-67276

CVE-2026-67276: SSH authentication bypass on RouterOS with forged key

We have confirmed that RouterOS 7.23.3 is vulnerable to CVE-2026-67276, allowing SSH authentication without the private key. The attack exploits a flaw in RSA signature verification that accepts a forged public exponent (e=1).

Illustrazione per CVE-2026-67276Security
CVE-2026-67276

RSA Key Verification Flaw in SSH Server

RouterOS does not compare the RSA public key exponent during SSH authentication, allowing an attacker to forge valid signatures if they know the modulus of an authorized key. This issue affects 7.x versions prior to 7.23.4 and 7.24.2. You must update the firmware or restrict access to the SSH service to trusted networks only.

High · 8.1Exploited
Illustrazione per CVE-2026-67278Security
CVE-2026-67278

Flawed RSA Signature in RouterOS: CVE-2026-67278

CVE-2026-67278 is a critical vulnerability (CVSS 9.1) that allows an attacker to forge TLS certificates and SSH authentications on MikroTik RouterOS routers. It affects 7.x versions prior to 7.23.6 and 7.24.3; releases 7.23.4 and 7.24.2 contain an incomplete fix. To protect yourself, immediately update to one of the fixed versions or disable RSA services exposed to untrusted networks.

Critical · 9.1
Illustrazione per CVE-2020-5720Security
CVE-2020-5720

Path traversal vulnerability in WinBox

CVE-2020-5720 is a path traversal vulnerability in WinBox, the graphical client for managing MikroTik routers. It affects all WinBox versions prior to 3.21 and allows the creation of arbitrary files if the client connects to a malicious endpoint or suffers a man-in-the-middle attack. To mitigate the risk, you must update WinBox to version 3.21 or higher and restrict access to the service only from the trusted administration network.

Medium · 5.9
Illustrazione per CVE-2025-42611Security
CVE-2025-42611

Certificate Validation Vulnerability in RouterOS

CVE-2025-42611 is a certificate validation vulnerability that may allow authentication bypass in services such as OpenVPN, CAPsMAN, and Dot1X. It affects RouterOS versions up to 7.20.x. The fixed version has not yet been announced; as of the article date, the vulnerability is not known to be actively exploited.

Medium · 6.5