Siemens TeleControl Server Basic VerifyUser SQL Injection Remote Code Execution Vulnerability
The VerifyUser method builds SQL queries from a user-supplied string without validating it, so an unauthenticated remote attacker can inject SQL. This lets the attacker execute arbitrary code in the context of the NETWORK SERVICE account.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Siemens TeleControl Server Basic. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
User-supplied input is concatenated into SQL queries in the VerifyUser method without validation, allowing SQL injection.
Impact
An unauthenticated remote attacker could execute arbitrary code on the affected installation, running as the NETWORK SERVICE account.
What the attacker needed
Network access to the service; no authentication needed
The fix
Siemens issued an update that corrects the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The software takes text from whoever connects to it and pastes it straight into a database command. Because it never checks that text, an attacker can add their own database instructions, and here that is enough to run their own code on the server. No login is needed, so anyone who can reach the service can try.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.