ID

VAR-202504-1085


CVE

CVE-2025-31351


TITLE

Siemens TeleControl Server Basic CreateProject SQL Injection Information Disclosure Vulnerability

Trust: 0.7

sources: ZDI: ZDI-25-394

DESCRIPTION

A vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injection through the internally used 'CreateProject' method. This could allow an authenticated remote attacker to bypass authorization controls, to read from and write to the application's database and execute code with "NT AUTHORITY\NetworkService" permissions. A successful attack requires the attacker to be able to access port 8000 on a system where a vulnerable version of the affected application is executed on. (ZDI-CAN-25917). This vulnerability allows remote attackers to disclose sensitive information on affected installations of Siemens TeleControl Server Basic. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.The specific flaw exists within the implementation of the CreateProject method. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker could leverage this vulnerability to disclose stored credentials, leading to further compromise. Siemens TeleControl Server Basic is an industrial remote controller of Siemens, Germany. Siemens TeleControl Server Basic versions prior to v3.1.2.2 have multiple SQL injection vulnerabilities that can be exploited by attackers to read and write the application's database, causing a denial of service and executing code in the operating system shell with limited "NT AUTHORITYNetworkService" permissions

Trust: 2.61

sources: NVD: CVE-2025-31351 // ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398

IOT TAXONOMY

category:['ICS']sub_category: -

Trust: 1.2

sources: CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398

AFFECTED PRODUCTS

vendor:siemensmodel:telecontrol server basicscope:ltversion:v3.1.2.2

Trust: 1.2

vendor:siemensmodel:telecontrol server basicscope: - version: -

Trust: 0.7

sources: ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398

CVSS

SEVERITY

CVSSV2

CVSSV3

productcert@siemens.com: CVE-2025-31351
value: HIGH

Trust: 1.0

ZDI: CVE-2025-31351
value: MEDIUM

Trust: 0.7

CNVD: CNVD-2025-08350
value: HIGH

Trust: 0.6

CNVD: CNVD-2025-08398
value: HIGH

Trust: 0.6

CNVD: CNVD-2025-08350
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

CNVD: CNVD-2025-08398
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

productcert@siemens.com: CVE-2025-31351
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

ZDI: CVE-2025-31351
baseSeverity: MEDIUM
baseScore: 6.5
vectorString: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 2.8
impactScore: 3.6
version: 3.0

Trust: 0.7

sources: ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398 // NVD: CVE-2025-31351

PROBLEMTYPE DATA

problemtype:CWE-89

Trust: 1.0

sources: NVD: CVE-2025-31351

PATCH

title:Siemens has issued an update to correct this vulnerability.url:https://cert-portal.siemens.com/productcert/html/ssa-443402.html

Trust: 0.7

title:Patch for Siemens TeleControl Server Basic SQL Injection Vulnerability (CNVD-2025-08350)url:https://www.cnvd.org.cn/patchInfo/show/683496

Trust: 0.6

title:Patch for Siemens TeleControl Server Basic has multiple SQL injection vulnerabilitiesurl:https://www.cnvd.org.cn/patchInfo/show/684331

Trust: 0.6

sources: ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398

EXTERNAL IDS

db:NVDid:CVE-2025-31351

Trust: 2.3

db:SIEMENSid:SSA-443402

Trust: 2.2

db:ZDI_CANid:ZDI-CAN-25917

Trust: 0.7

db:ZDIid:ZDI-25-394

Trust: 0.7

db:CNVDid:CNVD-2025-08350

Trust: 0.6

db:CNVDid:CNVD-2025-08398

Trust: 0.6

sources: ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398 // NVD: CVE-2025-31351

REFERENCES

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

Trust: 2.9

sources: ZDI: ZDI-25-394 // CNVD: CNVD-2025-08350 // CNVD: CNVD-2025-08398 // NVD: CVE-2025-31351

CREDITS

Anonymous

Trust: 0.7

sources: ZDI: ZDI-25-394

SOURCES

db:ZDIid:ZDI-25-394
db:CNVDid:CNVD-2025-08350
db:CNVDid:CNVD-2025-08398
db:NVDid:CVE-2025-31351

LAST UPDATE DATE

2025-06-18T19:33:55.168000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-25-394date:2025-06-16T00:00:00
db:CNVDid:CNVD-2025-08350date:2025-04-25T00:00:00
db:CNVDid:CNVD-2025-08398date:2025-04-25T00:00:00
db:NVDid:CVE-2025-31351date:2025-04-17T20:21:48.243

SOURCES RELEASE DATE

db:ZDIid:ZDI-25-394date:2025-06-16T00:00:00
db:CNVDid:CNVD-2025-08350date:2025-04-24T00:00:00
db:CNVDid:CNVD-2025-08398date:2025-04-16T00:00:00
db:NVDid:CVE-2025-31351date:2025-04-16T18:16:06.500