CVE-2025-32864 Overview
CVE-2025-32864 is a SQL injection vulnerability affecting Siemens TeleControl Server Basic, all versions prior to V3.1.2.2. The flaw resides in the internally used GetSettings method, which fails to sanitize input before constructing database queries. An authenticated remote attacker with access to TCP port 8000 can bypass authorization controls, read and modify database contents, and execute code under the NT AUTHORITY\NetworkService account. The vulnerability maps to CWE-89: Improper Neutralization of Special Elements used in an SQL Command.
Critical Impact
Authenticated attackers reaching port 8000 can execute code as NT AUTHORITY\NetworkService and gain full read/write access to the application database.
Affected Products
- Siemens TeleControl Server Basic — all versions before V3.1.2.2
- Deployments exposing TCP port 8000 to untrusted networks
- Industrial control environments relying on TeleControl Server Basic for SCADA telemetry aggregation
Discovery Timeline
- 2025-04-16 - CVE-2025-32864 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-32864
Vulnerability Analysis
The vulnerability exists in the GetSettings method used internally by TeleControl Server Basic. The method concatenates untrusted input into SQL statements without parameterization or sanitization. An authenticated user can submit crafted parameters that alter query semantics. The injected SQL executes within the database context backing the application.
Because the application service runs as NT AUTHORITY\NetworkService on Windows hosts, successful exploitation yields code execution at that privilege level. This translates into host-level command execution beyond simple data tampering. The flaw also bypasses authorization checks that should otherwise restrict the GetSettings operation. Attackers therefore gain capabilities exceeding what their authenticated role permits.
Root Cause
The root cause is improper neutralization of SQL metacharacters in the GetSettings request handler. The code path builds queries through string concatenation rather than prepared statements. Authorization validation is also incomplete for this internal method, compounding the impact of the injection.
Attack Vector
Exploitation requires network reachability to TCP port 8000 on the host running TeleControl Server Basic. The attacker must hold valid low-privilege credentials. Once authenticated, the attacker issues a crafted request to the GetSettings endpoint containing SQL payloads. Successful payloads pivot from database access to operating system command execution via stacked queries or stored-procedure abuse such as xp_cmdshell. See the Siemens Security Advisory SSA-443402 for vendor technical details.
Detection Methods for CVE-2025-32864
Indicators of Compromise
- Unexpected inbound TCP connections to port 8000 on TeleControl Server Basic hosts from non-engineering subnets
- Process creation events showing child processes spawned by the TeleControl service running as NT AUTHORITY\NetworkService
- Database audit log entries showing schema reads, writes, or stored procedure execution originating from the GetSettings code path
- Outbound network connections initiated by the TeleControl service process to attacker-controlled infrastructure
Detection Strategies
- Enable SQL Server auditing for the TeleControl database and alert on use of xp_cmdshell, sp_OACreate, and other command-execution procedures
- Inspect application logs for GetSettings invocations containing SQL metacharacters such as single quotes, semicolons, or UNION keywords
- Correlate authentication events with subsequent database modifications to detect privilege boundary violations
Monitoring Recommendations
- Baseline normal GetSettings request volume and parameter shapes, then alert on statistical deviations
- Monitor child process creation under the TeleControl service binary for shells, scripting hosts, and LOLBins
- Forward Windows Security and TeleControl application logs to a centralized SIEM for retention and correlation
How to Mitigate CVE-2025-32864
Immediate Actions Required
- Upgrade TeleControl Server Basic to version V3.1.2.2 or later as directed in Siemens Security Advisory SSA-443402
- Restrict access to TCP port 8000 using host-based and network firewalls so only authorized engineering workstations can connect
- Rotate credentials for all accounts able to authenticate to TeleControl Server Basic following any suspected exposure
- Review database audit trails for indicators of prior exploitation before applying the patch
Patch Information
Siemens has released TeleControl Server Basic V3.1.2.2, which remediates CVE-2025-32864. Apply this update on all affected systems. Refer to Siemens Security Advisory SSA-443402 for the official download and verification guidance.
Workarounds
- Segment TeleControl Server Basic hosts onto isolated OT networks with strict firewall rules limiting port 8000 exposure
- Enforce VPN or jump-host access for any remote administration session targeting the application
- Remove or disable interactive database features such as xp_cmdshell on the backing SQL Server instance to reduce post-injection impact
- Apply least-privilege principles to the NetworkService account context and remove unnecessary local privileges where supported
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

