Triple Threat: Breaking Teltonika Routers Three Ways
The report describes eight vulnerabilities in Teltonika's Remote Management System (RMS) and RUT routers, including device takeover via weak identifiers, stored XSS, and command injection. Attackers could gain full control over routers, access internal networks, and compromise cloud infrastructure.
Published on claroty.com
Teltonika Networks specializes in manufacturing and developing networking devices, including routers, modems and industrial networking equipment.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the root causes include reliance on weak device identifiers (serial number and MAC address) for authentication, insufficient input validation leading to command injection, and a stored XSS vulnerability in the firmware version field.
Impact
Attackers could gain full control over Teltonika 4G routers, use them as a pivot point to internal networks, and access internal cloud infrastructure; however, some limitations in the XSS made exploitation more difficult, so it was chained with another vulnerability.
What the attacker needed
Internet-exposed device with RMS enabled; Knowledge of device serial number and MAC; Victim moves mouse over malicious fw_version; Attacker has RMS account
The fix
Teltonika Networks mitigated the vulnerabilities in coordination with CISA, which published an advisory.
How it was found
- Collect device serial numbers and MAC addresses from internet-exposed services or YouTube videos.
- Register unregistered devices to an attacker-controlled RMS account using the collected identifiers.
- Use the RMS Task Manager to execute commands on the device, achieving remote code execution.
- For registered devices, impersonate the device by authenticating to the RMS platform with its serial number and MAC address to obtain a certificate.
- Exploit the information oracle in the device claiming feature to enumerate all used serial numbers and MAC addresses.
- Use the UBUS JSONRPC interface to alter UCI configuration parameters and inject OS commands into the tcpdump utility.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report is about security holes in Teltonika's cloud service and routers. Attackers could take over these devices by guessing or finding their serial numbers and MAC addresses, which are like ID codes. Once in control, they could run commands on the routers and access private networks.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.