Skip to content
SQL injection Advisory Intermediate CVE-2021-21920CVE-2021-21921CVE-2021-21922CVE-2021-21923

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.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

High 7.7 View original

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.

Yuri Kramarz, on Cisco Talos

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

  1. Log in to the R-SeeNet application with an administrative account.
  2. 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).
  3. 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.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.