CVE-2025-31352

8.8 HIGH

📋 TL;DR

This SQL injection vulnerability in TeleControl Server Basic allows authenticated attackers to bypass authorization, read/write to the database, and execute code with NetworkService permissions. It affects all versions before V3.1.2.2. Attackers need access to port 8000 on systems running vulnerable versions.

💻 Affected Systems

Products:
  • TeleControl Server Basic
Versions: All versions < V3.1.2.2
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authentication but authenticated users can exploit. Port 8000 must be accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with NetworkService privileges leading to lateral movement, data exfiltration, and persistent backdoor installation.

🟠

Likely Case

Database manipulation, credential theft, and unauthorized code execution on affected systems.

🟢

If Mitigated

Limited impact due to network segmentation and authentication requirements, potentially only affecting isolated systems.

🌐 Internet-Facing: HIGH
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

SQL injection via UpdateGateways method requires authenticated access but is straightforward once authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: V3.1.2.2

Vendor Advisory: https://cert-portal.siemens.com/productcert/html/ssa-443402.html

Restart Required: Yes

Instructions:

1. Download V3.1.2.2 from Siemens support portal. 2. Backup configuration and data. 3. Stop TeleControl Server Basic service. 4. Install update. 5. Restart service and verify functionality.

🔧 Temporary Workarounds

Network Segmentation

windows

Restrict access to port 8000/TCP to only trusted networks and users

Windows Firewall: New-NetFirewallRule -DisplayName "Block TeleControl Port" -Direction Inbound -LocalPort 8000 -Protocol TCP -Action Block

Authentication Hardening

all

Implement strong authentication policies and monitor for suspicious authenticated sessions

🧯 If You Can't Patch

  • Implement strict network access controls to limit port 8000 exposure
  • Monitor and audit all authenticated sessions and database queries for suspicious activity

🔍 How to Verify

Check if Vulnerable:

Check TeleControl Server Basic version in application interface or installation directory

Check Version:

Check application GUI or installation properties

Verify Fix Applied:

Verify version is V3.1.2.2 or later in application interface

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in application logs
  • Multiple failed authentication attempts followed by successful login
  • Unexpected process execution with NetworkService context

Network Indicators:

  • Unusual traffic patterns on port 8000
  • SQL injection patterns in network traffic

SIEM Query:

source="telecontrol" AND ("UpdateGateways" OR "sql" OR "injection")

🔗 References

📤 Share & Export