NETGEAR ProSAFE Network Management System getSortString SQL Injection Remote Code Execution Vulnerability
The getSortString method in NETGEAR ProSAFE Network Management System fails to validate a user-supplied string before using it in SQL queries, allowing SQL injection. An authenticated remote attacker could exploit this to execute arbitrary code with SYSTEM privileges.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of NETGEAR ProSAFE Network Management System. Authentication is required to exploit this vulnerability.
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
The getSortString method builds SQL queries directly from user-supplied input without proper validation or parameterisation.
Impact
An authenticated remote attacker could execute arbitrary code with SYSTEM privileges on the affected installation.
What the attacker needed
Authentication required; network access to the NMS
The fix
NETGEAR issued an update to correct the 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.
SQL injection is when an attacker sneaks database commands into a place where the application expects normal input, so the database runs the attacker's commands. Here, a logged-in user can send a specially crafted string that the system inserts into a database query without checking it. That lets the attacker run their own database commands, and in this case even run code on the server as the highest-privilege Windows account.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.