Advantech WebAccess/NMS DBUtil SQL Injection Information Disclosure Vulnerability
The DBUtil class in Advantech WebAccess/NMS fails to validate the emsUrl parameter before building SQL queries, so an unauthenticated remote attacker can inject SQL. This lets the attacker read stored credentials, which can then be used to compromise the system further.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Advantech WebAccess/NMS. 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
Likely the emsUrl parameter is concatenated into a SQL query without parameterisation or validation.
Impact
An unauthenticated remote attacker could disclose stored credentials, leading to further compromise.
What the attacker needed
Network access to the service; no authentication needed
The fix
The vendor issued an update to correct 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.
A database query is a request for information sent to the database. Here the software pastes text supplied by the user straight into that request without checking it, so an attacker can add their own database instructions. Because no login is needed, anyone who can reach the service can try to pull out stored usernames and passwords.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.