CVE-2025-32845 Overview
CVE-2025-32845 is a SQL injection vulnerability in Siemens TeleControl Server Basic affecting all versions prior to V3.1.2.2. The flaw resides in the internally used UpdateGeneralSettings method, which fails to properly sanitize input before constructing SQL queries. An authenticated remote attacker with network access to TCP port 8000 can bypass authorization controls, read and modify the application database, and execute code under the NT AUTHORITY\NetworkService account. The weakness is classified under [CWE-89: Improper Neutralization of Special Elements used in an SQL Command].
Critical Impact
Successful exploitation grants attackers database read/write access and code execution as NT AUTHORITY\NetworkService on the host running TeleControl Server Basic.
Affected Products
- Siemens TeleControl Server Basic — all versions prior to V3.1.2.2
- Component: siemens:telecontrol_server_basic
- Exposed service: TCP port 8000
Discovery Timeline
- 2025-04-16 - CVE-2025-32845 published to NVD
- 2025-08-19 - Last updated in NVD database
Technical Details for CVE-2025-32845
Vulnerability Analysis
The vulnerability is a server-side SQL injection in the UpdateGeneralSettings method exposed by TeleControl Server Basic. The method accepts client-supplied parameters that flow into a SQL statement without proper parameterization or sanitization. Authenticated users can inject SQL syntax that the backend database engine then executes with the application's database privileges.
Because the affected method is reachable after authentication, the attacker only needs a low-privileged account on the application. The service listens on TCP port 8000, so any attacker with network reachability to that port and valid credentials can issue crafted requests. Exploitation also bypasses authorization controls inside the application logic, granting access to data or operations the user would not normally be permitted to invoke.
The impact extends beyond data tampering. The advisory notes that successful injection enables code execution under the NT AUTHORITY\NetworkService Windows service account, which is consistent with abuse of database engine features that run operating system commands.
Root Cause
The root cause is the construction of SQL queries from untrusted input inside the UpdateGeneralSettings method without using prepared statements or strict input validation. This is a classic [CWE-89] failure where user-controllable strings are concatenated into SQL syntax.
Attack Vector
The attack vector is network-based and requires authentication. An attacker must:
- Reach TCP port 8000 on a server running a vulnerable version of TeleControl Server Basic.
- Authenticate to the application with valid credentials.
- Invoke the UpdateGeneralSettings method with a malicious payload that injects SQL into the underlying query.
No verified public proof-of-concept code is available. Refer to the Siemens Security Advisory SSA-443402 for vendor technical details.
Detection Methods for CVE-2025-32845
Indicators of Compromise
- Unexpected authenticated requests to TCP port 8000 that contain SQL meta-characters such as single quotes, UNION, ;, or comment sequences (--, /* */).
- Process creation events on the TeleControl Server Basic host where child processes such as cmd.exe or powershell.exe are spawned by the database engine or service account NT AUTHORITY\NetworkService.
- Unauthorized changes to TeleControl Server Basic database tables, especially configuration or settings tables touched by UpdateGeneralSettings.
Detection Strategies
- Inspect application and IIS-equivalent logs for UpdateGeneralSettings invocations containing SQL syntax in parameter values.
- Monitor SQL Server error logs for syntax errors and out-of-band command execution attempts originating from the TeleControl service account.
- Correlate authentication events with database write activity to identify low-privilege accounts performing privileged operations.
Monitoring Recommendations
- Enable verbose auditing on the TeleControl Server Basic database instance, focusing on writes initiated by the application service account.
- Alert on any process spawned by the database engine or by NT AUTHORITY\NetworkService on TeleControl hosts.
- Capture and review network flows to port 8000 from non-engineering subnets.
How to Mitigate CVE-2025-32845
Immediate Actions Required
- Upgrade Siemens TeleControl Server Basic to V3.1.2.2 or later as published in Siemens Security Advisory SSA-443402.
- Restrict network access to TCP port 8000 so that only trusted engineering workstations can reach the service.
- Rotate credentials for all TeleControl Server Basic user accounts if exposure to untrusted networks is suspected.
Patch Information
Siemens has released TeleControl Server Basic V3.1.2.2, which remediates the SQL injection in the UpdateGeneralSettings method. Patch details and download instructions are available in the Siemens Security Advisory SSA-443402.
Workarounds
- Place the TeleControl Server Basic host behind a firewall and allow inbound traffic to port 8000 only from explicitly trusted IP addresses.
- Run the TeleControl service on an isolated management VLAN with no direct exposure to operator or business networks.
- Disable or restrict low-privileged application accounts that are not strictly required for operations until the patch is applied.
# Example Windows firewall rule restricting inbound access to port 8000
New-NetFirewallRule -DisplayName "TeleControl-Restrict-8000" `
-Direction Inbound -Protocol TCP -LocalPort 8000 `
-RemoteAddress 10.10.20.0/24 -Action Allow
New-NetFirewallRule -DisplayName "TeleControl-Block-8000-Default" `
-Direction Inbound -Protocol TCP -LocalPort 8000 `
-Action Block
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

