Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ThingsBoard-IoT-Platform-CVE-2024-55466 | Kitploit
Tools/GitHubGitHub/cybsecsid/thingsboard-iot-platform-cve-2024-55466
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubcybsecsid/thingsboard-iot-platform-cve-2024-55466

ThingsBoard-IoT-Platform-CVE-2024-55466

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
1 year agoNot yet reviewed

ThingsBoard Privilege Escalation Using Stored XSS

While tinkering with IoT technology, I found vulnerability in the Thingsboard Application that allowed avenues for privilege escalation.

Thingsboard is an open-source application that allows device management, data collection, processing and visulaization for IoT services and deployments. Furthermore, a single Thingsboard instance (managed by a Tenant Administrator) can host services for multiple organizations with separate Company Administrators for each.

While exploring its features, I noticed a file upload functionality in the "Image Gallery" view. Unfortunately, the feature was vulnerable to stored cross-site scripting which allowed an adversary to escalate privileges by leveraging authentication token theft.

This vulnerability impacts all Thingsboard releases, including Community, Cloud, and Professional editions. I responsibly reported the issue to the Thingsboard security team, who acknowledged it and committed to addressed it in a future release. Subsequently, I reported the vulnerability to MITRE, resulting in the assignment of a CVE.

TL;DR

  • Bug: Stored Cross-Site Scripting
  • Severity: CRITICAL
  • OWASP Vulnerability Category: A03 Injection
  • CVSS 4.0 Score: 8.8 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
  • Affected Software Releases: Community Edition, Professional Edition, Cloud
  • Affected Versions: 3.8.1 or earlier
  • Vendor Details: Thingsboard (https://github.com/thingsboard/thingsboard)

Pre-Requisites

To demonstrate the vulnerability, one would require an installation of ThingsBoard (Github Repository) with at least one low privileged user.

Steps to Reproduce

  • Step 1: Log into a low privileged customer account.

    low_priv_user

  • Step 2: Navigate to Resources > Image Gallery

    image_gallery

  • Step 3: Craft a malicious image file (here, a SVG file is used with JavaScript Payload) to exploit the Cross Site Scripting vulnerability.

    svg_with_xss_payload

  • Step 4: Upload the file and inspect the response to identify the destination file path where the payload was uploaded.

    publicLink

  • Step 5: Visit the publicLink file path to trigger the payload.

    XSS_triggered

Account Takeover

Since, the payload is stored on the legitimate thingsboard instance, an adversary can easily trick high value targets (eg: Tenant Administrator, Company Administrator etc.) to steal authentication tokens.

A demonstration of above mentioned impact:

  • Step 1: Log into a high value account (here Tenant administrator account is used in chrome browser, to demonstrate isolated enviroment from the firefox browser used above).

    tenant_admin

  • Step 2: Visit the publicLink file path, retrieved earlier.

    XSS_triggered

Download Tool