Skip to main content

CVE-2025-7578: Teledyne FLIR Camera RCE Vulnerability

CVE-2025-7578 is a critical command injection flaw in Teledyne FLIR FB-Series and FH-Series cameras allowing remote code execution. This article covers the technical details, affected versions, and recommended mitigation.

Published:

CVE-2025-7578 Overview

CVE-2025-7578 is a command injection vulnerability [CWE-74] in Teledyne FLIR FB-Series O and FLIR FH-Series ID thermal imaging cameras running firmware version 1.3.2.16. The flaw resides in the sendCommand function within the runcmd.sh script, where the cmd argument is passed to the underlying shell without proper sanitization. An authenticated remote attacker with low privileges can abuse this path to inject arbitrary operating system commands. The researcher notes the functionality is currently disabled due to server CGI configuration errors, but the code path remains exploitable if the configuration is restored. The vendor was contacted prior to disclosure but did not respond.

Critical Impact

Successful exploitation would allow a remote authenticated attacker to execute arbitrary shell commands on the camera, potentially pivoting into surveillance networks or disrupting physical security monitoring.

Affected Products

  • Teledyne FLIR FB-Series O firmware 1.3.2.16
  • Teledyne FLIR FH-Series ID firmware 1.3.2.16
  • Developer backdoor page exposing runcmd.sh

Discovery Timeline

  • 2025-07-14 - CVE-2025-7578 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-7578

Vulnerability Analysis

The vulnerability exists in a developer-oriented CGI endpoint on the camera's embedded web server. The sendCommand function inside runcmd.sh accepts a cmd parameter from an HTTP request and forwards it to a shell interpreter. Because the input is not validated, filtered, or escaped, shell metacharacters such as ;, |, and backticks allow operators to append arbitrary commands. The attack is initiated over the network but requires authentication and additional conditions to succeed, which makes exploitation complex in practice.

The reporter explicitly describes the endpoint as a developer backdoor page. While the CGI server configuration currently prevents the handler from being invoked, any firmware update, misconfiguration, or configuration rollback that restores CGI processing would make the command injection path reachable again.

Root Cause

The root cause is improper neutralization of special elements in output used by a downstream component [CWE-74]. The cmd argument passed to runcmd.sh is concatenated directly into a shell invocation, bypassing any allow-list of permitted commands.

Attack Vector

An attacker with network reach to the camera's web interface and valid low-privilege credentials sends a crafted HTTP request to the vulnerable CGI endpoint. The request supplies a cmd parameter containing shell metacharacters and an attacker-controlled payload. If the CGI handler is active, the embedded Linux shell executes the injected command in the context of the web server process.

No verified public exploit code is available. Technical details are documented in the GitHub Command Injection Vulnerability Report.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2025-7578

Indicators of Compromise

  • HTTP requests to CGI paths referencing runcmd.sh or a sendCommand handler on FLIR camera management interfaces.
  • Query strings or POST bodies containing shell metacharacters such as ;, &&, |, or backticks in a cmd parameter.
  • Unexpected outbound connections originating from camera management IP ranges.

Detection Strategies

  • Inspect web server and reverse-proxy logs on FLIR camera deployments for requests targeting developer or diagnostic CGI endpoints.
  • Baseline normal administrative traffic to the cameras and alert on deviations such as new user agents, scripted request patterns, or requests from non-management subnets.
  • Correlate authentication events on the camera with subsequent process execution anomalies on upstream collectors.

Monitoring Recommendations

  • Monitor network segments hosting FLIR FB-Series O and FH-Series ID cameras for lateral movement attempts following any administrative session.
  • Capture full packet data for traffic to camera management ports to support forensic review if the CGI handler is re-enabled.
  • Alert on configuration changes to the cameras' CGI handler map that would restore access to runcmd.sh.

How to Mitigate CVE-2025-7578

Immediate Actions Required

  • Restrict network access to the camera management interface using firewall rules or VLAN segmentation so only trusted administrative hosts can reach it.
  • Rotate credentials on all affected FLIR FB-Series O and FH-Series ID devices and enforce unique, strong passwords.
  • Audit camera firmware configurations to confirm the developer backdoor CGI handler is not reachable.
  • Monitor the vendor advisory channel for a patched firmware release, as Teledyne FLIR has not publicly responded to this disclosure.

Patch Information

At the time of publication, Teledyne FLIR has not released a security patch addressing CVE-2025-7578, and the vendor did not respond to the researcher's disclosure attempts. Organizations should treat the vulnerable firmware as unpatched and apply compensating controls until a fixed release is available. Track updates through the VulDB entry for CVE-2025-7578.

Workarounds

  • Block or filter HTTP requests to any path containing runcmd.sh or the sendCommand handler at an upstream web application firewall or reverse proxy.
  • Place the cameras on an isolated management network with no direct internet exposure.
  • Disable or remove any developer or diagnostic CGI scripts if the firmware allows administrative customization.
  • Require VPN or jump-host access for all camera administration to reduce the exposed attack surface.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.