Skip to content
SQL injection Advisory Advanced CVE-2023-35720

ASUS RT-AX92U lighttpd mod_webdav.so SQL Injection Information Disclosure Vulnerability

The mod_webdav.so module on ASUS RT-AX92U routers fails to validate a user-supplied string before building SQL queries. A network-adjacent attacker without authentication could use this to disclose sensitive information running as root.

Anonymous Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows network-adjacent attackers to disclose sensitive information on affected ASUS RT-AX92U routers. Authentication is not required to exploit this vulnerability.

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

Root cause

Likely the mod_webdav.so request handler concatenates a user-supplied string directly into an SQL query instead of using parameterised queries or escaping it.

Impact

A network-adjacent, unauthenticated attacker could disclose sensitive information in the context of root on affected routers.

What the attacker needed

Network-adjacent access to the router; no authentication needed

The fix

ASUS issued an update to correct the vulnerability, so affected routers should be updated to the fixed firmware.

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.

A router runs a small web service that handles WebDAV, a way to share and edit files over the network. Part of that service builds database queries from text supplied by whoever sends a request, without checking it first. This lets someone on the same network trick the database into revealing data it should keep private, and the service runs with the highest privileges on the device.

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.