Advantech WISE-PaaS/RMM SQLMgmt qryData SQL Injection Information Disclosure Vulnerability
The SQLMgmt class in Advantech WISE-PaaS/RMM builds SQL queries from user-supplied strings without proper validation. A remote attacker who bypasses the existing authentication could use this to disclose sensitive information held in the Postgres database.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Advantech WISE-PasS/RMM. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 SQLMgmt class concatenates user-supplied input into SQL statements instead of using parameterised queries or validating it.
Impact
An attacker could disclose sensitive information in the context of the Postgres database, though authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the product; bypass of the authentication mechanism
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 reads and writes data using commands called SQL queries. If a program glues text typed by a user straight into such a query, the user can sneak in extra commands. Here that let someone read data they should not see, but only after getting past a login step that the report says can be bypassed.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.