Cisco Data Center Network Manager getSwitchsDataLength SQL Injection Information Disclosure Vulnerability
The getSwitchsDataLength endpoint fails to validate the colFilterStr parameter before using it in SQL queries, allowing an unauthenticated remote attacker to disclose sensitive information such as stored credentials.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Cisco Data Center Network Manager. Authentication is not 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 application builds SQL queries from the colFilterStr parameter without validating or sanitising it.
Impact
An unauthenticated attacker could disclose stored credentials, which may lead to further compromise.
What the attacker needed
Network access to the service; no authentication required
The fix
Cisco 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.
SQL injection is when user input is inserted directly into a database query without being checked, so an attacker can change the query's meaning. Here, a parameter called colFilterStr is used to build a database command, and because it is not validated, an attacker can make the database return secret data. No login is needed, so anyone who can reach the service can try it.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.