Skip to content
Topic

Hotspot

Hotspot, captive portal, PPPoE for users: all dojo articles on this topic.

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

Illustrazione per Il miglior certificato SSL per un hotspot: quale CA apre davvero su tutto
Dojo

The best SSL certificate for a hotspot: which CA actually opens on everything

Same phone: over LTE the portal opens, behind the hotspot it doesn't. Two different traps — trust store and incomplete chain — and the data-backed answer on which CA to pick.

7 min read
Illustrazione per Un hotspot che non si apriva su Android 13: «valido» non vuol dire «fidato»Dojo

A hotspot that wouldn’t open on Android 13: “valid” doesn’t mean “trusted”

Same certificate, same portal: it works on iOS and Android 15, not on Android 13. Not a router bug but the OS trust store — and dojo.trust explained it, and tested the fix, before touching production.

Illustrazione per CVE-2025-6563: XSS via parametro dst nell'hotspot MikroTikLab
Lab · CVE-2025-6563

CVE-2025-6563: XSS via dst parameter in MikroTik hotspot

We verified the presence of a reflected XSS vulnerability (CVE-2025-6563) in the hotspot component of RouterOS 7, which allows the execution of arbitrary JavaScript in the victim's browser. The proof confirmed that on versions prior to 7.19.2 both attack vectors work, while on version 7.24.5 the payload is blocked.

Illustrazione per Captive portal e iPhone sotto lo sniffer: la DHCP option 114 che risolve iPhone e AndroidDojo

Captive portal, iPhone and Android under the sniffer: DHCP option 114 works, the certificate decides

The captive portal on iPhone and Android seen under the sniffer. MikroTik hands out DHCP option 114 (RFC 8910/8908) and the login page always opens: the one thing missing is iOS's auto-login, and whether the portal starts at all is decided by the certificate. With the .pcap captures to download.

Illustrazione per CNA (Captive Network Assistant): come i telefoni trovano la pagina di loginKnowledge base
Knowledge base · Captive portal

CNA (Captive Network Assistant): how phones find the login page

The CNA (Captive Network Assistant) is how iPhone, Android and Windows tell whether you're behind a captive portal and open the login page in a dedicated mini-browser. It was born because the mass move to HTTPS broke the old hotspots that hijacked the browser.

Illustrazione per Hotspot e PPPoE MikroTik: il nome utente in ogni riga di logDojo
Howto · Hotspot

Hotspot and PPPoE MikroTik: the username in every log line

A hotspot's connection log contains IP addresses, not people: to know who was behind an address you have to cross-reference it with the logins. With a login and logout script you can create a log rule for every connected user, with the username in the log-prefix: every log line already contains the name. It works with the hotspot (on-login / on-logout of the user profile) and with PPPoE (on-up / on-down of the PPP profile).

Illustrazione per CVE-2025-6563Security
CVE-2025-6563

XSS in RouterOS Hotspot

CVE-2025-6563 is a cross-site scripting (XSS) vulnerability in the RouterOS hotspot service in versions prior to 7.19.2. An attacker can inject JavaScript code via the dst parameter to execute scripts in the victim's browser upon login. To mitigate the risk, you must update to version 7.19.2 or later.

Medium · 4.8
Illustrazione per Hotspot MikroTik: come registrare il traffico degli utentiDojo
Howto · Hotspot

MikroTik hotspot: how to record your users’ traffic

In a hotspot the guests go out to the internet with a single public address: to know who did what, you need a connection log. With RouterOS 7 you generate it with a firewall action=log rule on new connections only and send it to an external syslog server, because the router's memory is not an archive. As an alternative, or in addition, there is Traffic Flow (IPFIX/NetFlow) toward a collector.

Illustrazione per CVE-2022-45313Security
CVE-2022-45313

Out-of-bounds Read in the Hotspot Process

CVE-2022-45313 is an Out-of-bounds Read vulnerability in the hotspot process of RouterOS, allowing arbitrary code execution via a manipulated nova message. It affects RouterOS versions prior to 7.5. To mitigate the risk, you must update to a stable version later than 7.5 or disable the hotspot service if not in use.

High · 8.8
Illustrazione per Hotspot 2.0 e Passpoint con MikroTik: l'interworking nel pacchetto wifiDojo
Howto · WiFi

Hotspot 2.0 and Passpoint with MikroTik: interworking in the wifi package

Hotspot 2.0 (the commercial name is Passpoint, the standard underneath is 802.11u) lets a phone connect on its own and encrypted to a public Wi-Fi network, with no login page, recognizing its own carrier or its own organization. Back in 2017 I dug up an undocumented menu in RouterOS 6; today, in the wifi package of RouterOS 7, there's an official menu, /interface wifi interworking, to use together with a RADIUS server.

Illustrazione per CVE-2021-3014Security
CVE-2021-3014

Reflected XSS in the Hotspot login page

CVE-2021-3014 is a reflected Cross-Site Scripting (XSS) vulnerability in the Hotspot service login page in MikroTik RouterOS. It affects RouterOS versions published up to January 4, 2021. To mitigate the risk, you must update the firmware to a later version or disable access to the Hotspot login page from untrusted networks.

Medium · 6.1
Illustrazione per Hotspot MikroTik: come proteggere la LAN dai client WiFiDojo
Howto · Hotspot

MikroTik hotspot: how to protect the LAN from WiFi clients

On a MikroTik hotspot the guest clients must not be able to reach the customer's network (servers, printers, NAS). A single firewall rule using the hotspot=from-client matcher does the job; and if the network to protect isn't known in advance, because the WAN gets its address over DHCP, a DHCP client script keeps it up to date in an address list.

Illustrazione per Come creare un hotspot WiFi con MikroTik e RouterOS 7Dojo
Howto · Hotspot

How to create a WiFi hotspot with MikroTik and RouterOS 7

A WiFi hotspot with a captive portal on MikroTik is built in seven steps: reset, WAN, the guest network on a bridge, the radio, the /ip hotspot setup wizard, a test and the final cleanup. In RouterOS 7 the main change is the radio part, which on recent models uses the new wifi package instead of wireless. The addresses in the example are the ones from my lab: adapt them to your own network.