Skip to content
RCE Write-up Intermediate

Full Disclosure 0 Day Rce Backdoor In Teradek Ip Video Device Firmwares

A backdoor in Teradek IP video device firmware allows an attacker with network access to enable a telnet service without authentication by calculating a key from the device's MAC address, then log in as root using a hardcoded password. This gives full control of the device.

István Tóth Follow

Published on infosecwriteups.com

The Teradek IP video devices are live streaming devices able to encode video inputs (like SDI, HDMI, etc) to various streaming formats capable of Ethernet transport. There are different IP video devices made by Teradek, but the firmwares seems to be very similar (especially in the backdoor functionality).

István Tóth, on infosecwriteups.com

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 firmware contains a hidden CGI script that enables telnet when given a key derived from hardcoded values and the device's MAC address, and the root password is a weak hardcoded hash.

Impact

An attacker with network access can gain root shell access and fully compromise the device.

What the attacker needed

Network access to the device; ability to enumerate MAC address

The fix

There is no fix; the manufacturer should remove the backdoor and hardcoded credentials, but until then the only mitigation is to restrict network access to the device.

How it was found

  1. Enumerate the MAC address of the device.
  2. Calculate the key using the hardcoded values and the MAC address.
  3. Send a request to the test.cgi endpoint with the key and command to enable telnet.
  4. Connect to the telnet service and log in as root with the cracked password.

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.

The device has a hidden way to turn on a remote login service (telnet) without needing the normal password. The key to turn it on is made from the device's network address (MAC address), which is easy to find on the same network. Once telnet is on, anyone can log in as the administrator (root) because the password is hardcoded and weak.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.