☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Trane logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 9.9 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 🐛 CWE-94
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2021-38450

CVE-2021-38450 — Trane Tracer Code Injection
📅 PUBLISHED: 2021-10-27 00:00 UTC 🔄 UPDATED: 2026-10-08 19:48 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix ⏳ Vendor-claimed fix: v4.4 SP7 — source: icscert. UNVERIFIED · pending independent confirmation. how verification works →
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.04%
👁️
1.04% probability
26.0× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: United States License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 9.9
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: C Scope Changed
C: H Confidentiality High
I: H Integrity High
A: H Availability High
9.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2021-38450 is a code injection vulnerability affecting Trane Tracer building automation controllers. The affected controllers fail to properly sanitize input containing code syntax, allowing an attacker to craft malicious code that alters the intended controller flow of the software. With a CVSS score of 9.9, this represents a critical-severity flaw. Organizations operating Trane Tracer SC, Tracer SC+, or Tracer Concierge controllers in building management systems (BMS) are affected, particularly those that expose these controllers directly to network access. Successful exploitation could allow an attacker to execute arbitrary code in the context of the controller application, potentially compromising the entire building automation infrastructure.

The vendor has released patched firmware versions, though patch confirmation is limited to a single source (CNA) with 2/4 confidence. Trane has disclosed that Tracer SC is end-of-life (EOL) as of December 31, 2022, and recommends migration to Tracer SC+. No public proof-of-concept or exploit code has been identified at the time of this report, and the vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The NVD description for CVE-2021-38450 is intentionally sparse, stating: "The affected controllers do not properly sanitize the input containing code syntax. As a result, an attacker could craft code to alter the intended controller flow of the software." Despite the limited technical detail, the vulnerability class is well-defined: code injection (CWE-94).

Vulnerability Mechanism: The root cause is insufficient input sanitization in the affected Trane controllers. The controller software accepts input that contains code syntax (e.g., scripting language constructs, command delimiters, or expression syntax) and fails to neutralize or validate this input before processing it. When unsanitized input reaches an interpreter or code execution engine within the controller firmware, the injected code is executed as part of the legitimate application logic.

Attack Surface: The affected products are Trane Tracer SC, Tracer SC+, and Tracer Concierge — building automation controllers used for HVAC and environmental control in commercial facilities. These controllers typically expose web-based management interfaces and may also operate on the building's control network (e.g., BACnet, LonWorks, or proprietary Trane protocols). The attack surface includes:

  • Web-based management interfaces (HTTP/HTTPS)
  • Building automation protocols that may pass user-controlled data to the controller
  • Any API endpoints or services that accept user-supplied parameters

Where the Flaw Manifests: Without specific detail from the NVD description, the flaw most plausibly manifests in any input field or parameter processed by the controller's application logic. This could include web form fields, query string parameters, POST body data, or protocol-level data payloads. The description mentions "controllers" plural, suggesting the flaw affects a family of products sharing common firmware code.

Why This Is Critical (CVSS 9.9): The score of 9.9 with a probable vector of AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H indicates: network-explotable without authentication, no user interaction required, and full confidentiality/integrity/availability impact with scope change (meaning the compromise can extend beyond the initially compromised component).

EOL Considerations: Tracer SC is no longer actively developed or sold and reached end-of-life on December 31, 2022. This significantly increases risk because the legacy product line will not receive future security updates, leaving unpatched deployments permanently vulnerable.

Exploitation Scenarios

Insufficient technical detail is available in the NVD description to enumerate specific function names, endpoints, or parameters. The attack chain below is described at the vulnerability-class level and inferred from the CWE-94 code injection classification.

Step 1 — Reconnaissance/Target Identification: An attacker identifies Trane Tracer controllers exposed to the network. This could be done via internet-wide scanning (e.g., Shodan searching for Trane devices), network enumeration within a compromised corporate network, or by targeting facilities known to use Trane building automation systems. Given the CVSS vector indicates network exploitability without privileges, the attacker does not need prior access to the internal network.

Step 2 — Flaw Triggering: The attacker submits crafted input containing code syntax to any exposed input mechanism of the controller. Because the controllers "do not properly sanitize the input," the malicious input is passed through to a code interpreter or execution engine within the firmware. The injection point could be a web form field, a query parameter, or a protocol message — the exact surface is not specified in public disclosures.

Step 3 — Payload Execution: At the code-injection class level, the attacker crafts a payload that, when processed by the controller, executes arbitrary commands or alters the intended application flow. Since this is code injection (not simply command injection), the injected code likely runs in the context of the controller's scripting/automation environment. The payload could be designed to:

  • Write new configuration data to the controller
  • Exfiltrate sensitive building data (occupancy schedules, maintenance records, credentials)
  • Disable safety/environmental control logic
  • Establish persistence for future access

Step 4 — Post-Exploitation Impact: Successful exploitation grants the attacker the ability to manipulate the controller's runtime behavior. In a building automation context, this means an attacker could alter HVAC operations, disable alarm/monitoring systems, or extend compromise to other systems on the building network. Given the CVSS scope change (S:C), the compromise may extend beyond the controller to affect other network resources, potentially enabling lateral movement into the broader corporate IT network.

No public PoC exists for this vulnerability. The attack chain is inferred from the vulnerability class and standard code-injection exploitation techniques. Specific payload structures and injection points remain unknown.

Impact Assessment

Business Impact: This vulnerability affects building automation and management systems — critical infrastructure for commercial facilities, data centers, hospitals, and industrial sites. Compromise of Trane Tracer controllers can lead to:

  • Operational Disruption (Availability): Attackers can alter HVAC control logic, causing environmental instability, equipment damage, or denial of service to building occupants.
  • Data Exposure (Confidentiality): Controllers may store operation logs, tenant schedules, energy usage data, and potentially network credentials that could be exfiltrated.
  • Integrity Compromise: Malicious code execution allows the attacker to rewrite controller logic, establish backdoors, and create persistent unauthorized access.
  • Lateral Movement: Building automation networks increasingly converge with corporate IT networks. A compromised controller can serve as a pivot point to reach other OT/IT systems.

Affected Systems: Trane Tracer SC (EOL December 31, 2022), Tracer SC+ (current generation), and Tracer Concierge. All versions prior to the specified patch releases are presumed affected.

Blast Radius: The CVSS 9.9 score (with inferred AV:N/AC:L/PR:N/UI:N/S:C vector) indicates:

  • Network attack vector: remotely exploitable
  • No authentication required
  • No user interaction needed
  • Scope change: compromise can affect components beyond the vulnerable controller

EPSS Consideration: The EPSS score of 0.00977 (58.8th percentile) suggests low current exploitation probability in the wild; however, this is a statistical estimate, not a measure of severity — the 9.9 CVSS score should drive remediation priority.

No evidence of known threat actor campaigns or exploit-in-the-wild activity has been identified for this CVE at the time of writing. It is not listed in CISA's KEV catalog.

Detection Guidance

Detection of CVE-2021-38450 exploitation is challenging without specific knowledge of the injection point. The following rules are designed to detect anomalous input patterns consistent with code injection attempts against building automation controllers or web management interfaces.

Sigma Rule

title: Trane Tracer Code Injection Attempt (CVE-2021-38450)
id: 3f8c1e2a-4b5c-4d6e-8f70-9a1b2c3d4e5f
status: experimental
description: Detects potential code injection attempts targeting Trane Tracer controllers based on anomalous code syntax in HTTP requests
author: Valtersit Threat Intelligence
date: 2024/01/15
logsource:
  category: webserver
  product: generic
detection:
  selection_target:
    cs-method:
      - 'GET'
      - 'POST'
    cs-uri-query|contains:
      - 'tracer'
      - 'controller'
      - 'bacnet'
  selection_code_syntax:
    cs-uri-query|contains:
      - '%3B'  # URL-encoded semicolon
      - '%24'  # URL-encoded dollar sign
      - 'eval('
      - 'exec('
      - 'system('
      - '${'
      - '`'
      - '<?php'
      - 'javascript:'
      - 'os.system'
      - 'subprocess'
  selection_payloads:
    cs-uri-query|contains:
      - '../../'
      - '%00'
      - 'whoami'
      - 'cat /etc/passwd'
      - 'cmd.exe'
      - 'powershell'
      - 'net user'
  condition: selection_target and (selection_code_syntax or selection_payloads)
  timeframe: 5m
falsepositives:
  - Legitimate administrative use of advanced configuration options
  - Network monitoring tools that embed code markers
level: high

YARA Rule

rule TRANE_TRACER_CODE_INJECTION_CVE_2021_38450
{
    meta:
        author = "Valtersit Threat Intelligence"
        description = "Detects payload patterns consistent with code injection attempts against Trane Tracer controllers (CVE-2021-38450)"
        date = "2024-01-15"
        cve = "CVE-2021-38450"
        score = 60
    strings:
        $semicolon = ";"
        $open_brace = "{"
        $close_brace = "}"
        $dollar_paren = "$("
        $backtick = "`"
        $eval = "eval"
        $exec = "exec"
        $system = "system"
        $cmd = "cmd"
        $shell = "shell"
        $passthru = "passthru"
        $assertEquals = "assert"
        $http = "http"
        $post = "post"
        $form = "form"
        $tracer = "tracer"
        $control = "control"
        $firmware = "firmware"
        $config = "config"
        $protocol = "protocol"
    condition:
        // HTTP request containing code execution markers
        (
            (uint16(0) == 0x4854) or  // "HT" - HTTP
            (uint16(0) == 0x5047) or  // "PG" - P
            $http or $post or $form
        ) and
        (
            (any of ($eval, $exec, $system, $cmd, $shell, $passthru)) or
            (any of ($dollar_paren, $backtick, $semicolon)) or
            (any of ($tracer, $control, $firmware, $config))
        ) and
        any of ($open_brace, $close_brace)
}

Suricata IDS Rule

alert http any any -> $HOME_NET any (
    msg:"ET EXPLOIT Trane Tracer Code Injection Attempt (CVE-2021-38450)";
    flow:established,to_server;
    content:"POST"; http_method;
    content:"tracer"; http_uri; nocase;
    content:";" || content:"$(" || content:"`" || content:"eval" || content:"exec" || content:"system";
    http_uri; nocase;
    classtype:attempted-admin;
    sid:20243845001;
    rev:1;
    reference:cve,2021-38450;
    reference:url,https://nvd.nist.gov/vuln/detail/CVE-2021-38450;
    metadata:created_at 2024_01_15, updated_at 2024_01_15;
)

alert http any any -> $HOME_NET any (
    msg:"ET EXPLOIT Trane Tracer Code Injection POST Body (CVE-2021-38450)";
    flow:established,to_server;
    content:"POST"; http_method;
    content:"|24 7b|";  # "${" encoded in body
    http_client_body; depth:100;
    content:"tracer" || content:"Trane";
    http_client_body; nocase;
    classtype:attempted-admin;
    sid:20243845002;
    rev:1;
    reference:cve,2021-38450;
    metadata:created_at 2024_01_15, updated_at 2024_01_15;
)

Elastic Detection

// Elastic EQL rule to detect code injection attempts targeting Trane Tracer controllers
// Platform: Elastic Security — EQL query for HTTP/Web server events

sequence by source.ip with maxspan=5m
  [ network where event.category == "network" and network.protocol == "http" and
    strings.contains(source.url, "tracer") or strings.contains(source.url, "Trane") ]
  [ process where event.category == "process" and
    (
      process.command_line regex~ ".*(eval|exec|system|passthru|shell_exec).*" or
      process.command_line regex~ ".*[;|\$\(`{].*"
    ) ]

Splunk SPL Query

index=* sourcetype=*http* OR sourcetype=*web* OR sourcetype=*access*
| where match(uri_path, "(?i)tracer") OR match(_raw, "(?i)trane")
| where match(_raw, "(?i)(eval|exec|system|shell_exec|passthru|assert)") 
  OR match(_raw, "[;$()`{}]")
| eval threat_score = 0
| eval threat_score = threat_score + if(match(_raw, "(?i)tracer"), 25, 0)
| eval threat_score = threat_score + if(match(_raw, "(?i)(eval|exec|system|shell_exec)"), 40, 0)
| eval threat_score = threat_score + if(match(_raw, "[;$`]{4,}"), 35, 0)
| where threat_score >= 40
| table _time, src_ip, dest_ip, dest_port, url, http_user_agent, method, status, threat_score
| sort - _time

Wazuh OSSEC Rule

<group name="trane_tracer,">

  <rule id="100450" level="12">
    <decoded_as>web</decoded_as>
    <match>tracer|Trane</match>
    <regex>(\beval\b|\bexec\b|\bsystem\b|\bpassthru\b|\bshell_exec\b|[$`();{}])</regex>
    <description>Trane Tracer code injection attempt detected (CVE-2021-38450)</description>
    <group>attacks,exploitation,code_injection,</group>
    <mitre>
      <id>T1190</id>
    </mitre>
    <info type="cve">CVE-2021-38450</info>
    <options>no_full_log</options>
  </rule>

  <rule id="100451" level="10">
    <if_sid>100450</if_sid>
    <same_source_ip/>
    <description>Trane Tracer injection attempt - repeated from same source</description>
    <group>attacks,exploitation,code_injection,</group>
    <mitre>
      <id>T1190</id>
    </mitre>
    <options>no_full_log</options>
  </rule>

</group>

Mitigation & Patch Guidance

Patch Confidence: 2/4 (CLAIMED — Vendor (CNA) claims a patch exists; not independently verified by third-party research.)

Immediate Mitigations (No Patch Available Yet)

  1. Segment and Isolate: If patching is not immediately possible, isolate Trane Tracer controllers from untrusted networks. Place controllers on a dedicated building automation network segment with strict firewall rules blocking external inbound access to all ports except those absolutely required for building operations.
  2. Disable/Block Unnecessary Services: Where feasible, disable web-based management interfaces or restrict access to trusted management IP ranges only. If the management interface is not required for daily operations, disable it entirely.
  3. Network Access Control: Implement strict egress and ingress filtering. Restrict outbound connections from the controllers to only required update/support servers.
  4. Monitor: Apply the detection rules above to network traffic logs and web server logs to identify potential exploitation attempts in progress.

Patch/Upgrade Steps

  1. Tracer SC: Upgrade to v4.4 SP7 or later. Note: Tracer SC is end-of-life (EOL as of December 31, 2022). Trane no longer actively develops this product line. The patch addresses the vulnerability, but no further security updates should be expected beyond this.
  2. Tracer SC+: Upgrade to v5.5 SP3 or later. Tracer SC+ is the current-generation replacement and should receive ongoing support.
  3. Tracer Concierge: Upgrade to v5.5 SP3 or later.
  4. Contact Trane Support: Affected users should contact their Trane representative to obtain the updated firmware. Reference Trane service database number HUB-205962 when contacting Trane support.
  5. Verify Patch Installation: After applying the firmware update, verify the controller reports the new version number and run test queries to confirm functionality.

Long-Term Hardening

  1. Migration Plan (Mandatory for Tracer SC Users): Tracer SC reached end-of-life on December 31, 2022. Organizations still running Tracer SC should implement a migration plan to Tracer SC+ immediately. Tracer SC+ functions as a drop-in replacement and provides "significant updates to security capabilities." Continued use of EOL software places the organization at risk from any future unpatched vulnerabilities.
  2. Authentication Hardening: Change default credentials on all controllers. Enforce strong, unique passwords. Implement multi-factor authentication where the controller platform supports it.
  3. Network Architecture: Separate OT/building automation networks from corporate IT networks using VLAN segmentation and firewall rules. Implement strict east-west traffic filtering to prevent lateral movement.
  4. Regular Vulnerability Scanning: Include building automation controllers in the organization's vulnerability management program. Subscribe to CVE feeds for Trane products.
  5. Incident Response Preparedness: Add building automation systems to the incident response plan. Ensure SOC analysts have visibility into OT network traffic and can respond to alerts involving controllers.
  6. Vendor Engagement: Maintain an active relationship with Trane support to stay informed of security advisories and firmware updates.

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2021-38450 — Official NVD vulnerability description and scoring information.
  2. CVE.org Entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38450 — CVE record with CNA information.
  3. Trane Security Advisory: Reference number HUB-205962 — Contact Trane directly at https://www.trane.com for the vendor advisory and firmware updates.
  4. CISA KEV Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog — CVE-2021-38450 is NOT listed as of this report; verify periodically for updates.
  5. Shodan Search: https://www.shodan.io/search?query=trane+tracer — For identifying potentially exposed Trane Tracer devices in your environment or external attack surface.

Threat Actor Activity: No known threat actor campaigns, exploit-in-the-wild evidence, or ransomware group usage has been publicly identified for CVE-2021-38450 as of the writing of this report. However, given the 9.9 CVSS score and the device class, targeting by APT groups focused on critical infrastructure is plausible even without public evidence.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

title:"Tracer SC"
product:"Trane Tracer"
http.title:"Tracer SC" "login"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2021-38450/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.