Advantech R-SeeNet application multiple SQL injection vulnerabilities in the 'user_list' page
Multiple SQL injection vulnerabilities exist in the 'user_list' page of Advantech R-SeeNet 2.4.15 due to improper use of prepared statements in stored procedures. An authenticated attacker could inject SQL commands via the surname_filter, name_filter, username_filter, or company_filter parameters, potentially leading to data disclosure.
Originally disclosed on Cisco Talos
Multiple exploitable SQL injection vulnerabilities exist in the ‘userlist’ page of the Advantech R-SeeNet 2.4.15 (30.07.2021). A specially-crafted HTTP request can lead to SQL injection.
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 application concatenates user-supplied input into a SQL query string that is then passed to a stored procedure, which executes it as a prepared statement without parameter binding, despite initial escaping.
Impact
An attacker could read sensitive data from the database, as indicated by the CVSS score with high confidentiality impact.
What the attacker needed
Authenticated access with admin account; or victim clicks a CSRF link
The fix
The vendor patched the vulnerabilities.
How it was found
- Log in to the R-SeeNet application with an administrative account.
- Send a crafted HTTP GET request to the 'user_list' page with a malicious value in one of the filter parameters (e.g., surname_filter).
- Observe a time delay in the response if the injected SQL command includes a SLEEP function, confirming the injection.
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.
SQL injection is a type of attack where a malicious user can insert database commands into a web form or URL, tricking the application into running those commands. In this case, the application takes user input and puts it directly into a database query without proper safeguards, allowing an attacker to read or modify data. The attacker needs to be logged in to exploit these specific flaws.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.