Skip to content
SQL injection Advisory Intermediate CVE-2021-22658

Advantech iView UserServlet SQL Injection Privilege Escalation Vulnerability

The UserServlet class in Advantech iView fails to validate user-supplied input before building SQL queries, allowing SQL injection. A remote attacker who bypasses the existing authentication can exploit this to escalate privileges and reset the Admin user's password.

rgod Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to escalate privileges on affected installations of Advantech iView. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

rgod, on the Zero Day Initiative

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

Impact

An attacker could escalate privileges and reset the password for the Admin user, potentially taking full control of the application.

What the attacker needed

Authentication bypass; network access to the application

The fix

The vulnerability was fixed by Advantech in an update.

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 when a program puts user input directly into a database command, so an attacker can sneak in extra commands. Here the login check can be bypassed, and then the attacker can run database commands that let them take over the admin account. This means they could reset the admin password and gain full control.

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 rgod

View all

696 more disclosed reports, best first.

More from Zero Day Initiative

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.