Skip to content
SQL injection Advisory Advanced CVE-2024-50389

(Pwn2Own) QNAP QHora-322 openvpn_cli user_name SQL Injection Authentication Bypass Vulnerability

The openvpn_cli module on QNAP QHora-322 routers fails to validate a user-supplied string before using it in SQL queries, allowing an unauthenticated remote attacker to bypass authentication. A specific configuration is required.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 8.1 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of QNAP QHora-322 routers. Authentication is not required to exploit this vulnerability, however a specific configuration is necessary.

Anonymous, 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

A remote, unauthenticated attacker could bypass authentication on the router, but only when a specific configuration is present.

What the attacker needed

Specific router configuration; network access to the router

The fix

QNAP has issued an update to correct this 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 in a router's VPN login component. The router takes a username and puts it directly into a database query without checking it, so an attacker can craft a special username that tricks the database into letting them in without a password. The attacker needs no login and can reach the router remotely, but only if the router is set up in a particular way.

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 Anonymous

View all

2,270 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.