Advantech WebAccess/NMS getFWUpgradeInfo SQL Injection Information Disclosure Vulnerability
The getFWUpgradeInfo method of the DBUtil class fails to validate user-supplied input before building SQL queries, allowing an authenticated attacker to disclose sensitive information. Authentication can be bypassed, so a remote attacker could read file contents with SYSTEM privileges.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Advantech WebAccess/NMS. 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
The getFWUpgradeInfo method builds SQL queries from unvalidated user input.
Impact
An attacker could disclose file contents with SYSTEM privileges, though authentication is required and the report notes the authentication mechanism can be bypassed.
What the attacker needed
Authentication (bypassable); network access to the endpoint
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.
This is a SQL injection bug. The software takes text from a user and puts it directly into a database command without checking it, so an attacker can trick the database into revealing files. The attacker first needs to log in, but the report says the login check 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.