Skip to content
SQL injection Advisory Intermediate CVE-2021-21915CVE-2021-21916CVE-2021-21917

Advantech R-SeeNet application multiple SQL injection vulnerabilities in the 'group_list' page

Multiple SQL injection vulnerabilities exist in the 'group_list' page of Advantech R-SeeNet 2.4.15 due to improper use of prepared statements and stored procedures. An authenticated attacker could inject SQL commands via the 'company_filter', 'description_filter', or 'ord' 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 ‘grouplist’ 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 uses prepared statements incorrectly by concatenating user input into a string that is then executed as a dynamic SQL statement inside a stored procedure, bypassing parameter binding.

Impact

An attacker could read sensitive data from the database, as indicated by the high confidentiality impact in the CVSS score.

What the attacker needed

Authenticated user; or CSRF against authenticated user

The fix

The vendor patched the vulnerabilities.

How it was found

  1. Log in to the application as any authenticated user.
  2. Send a crafted HTTP request to the 'group_list' page with a malicious value in the 'company_filter' parameter.
  3. Observe a time delay of 5 seconds, indicating successful SQL 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 an attacker inserts malicious SQL code into a query, tricking the database into revealing or changing data. In this case, the application takes user input from certain parameters and builds SQL queries without properly separating the input from the code, so an attacker can alter the query's meaning. The attacker needs to be logged in, but could also trick another logged-in user into making the request.

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.