CVE-2013-5945 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the login password field in D-Link DSR routers, potentially compromising the device.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2013-5945?
CVE-2013-5945 is a critical SQL injection vulnerability in n/a, published on 11 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple SQL injection vulnerabilities in D-Link DSR-150 with firmware before 1.08B44; DSR-150N with firmware before 1.05B64; DSR-250 and DSR-250N with firmware before 1.08B44; and DSR-500, DSR-500N, DSR-1000, and DSR-1000N with firmware before 1.08B77 allow remote attackers to execute arbitrary SQL commands via the password to (1) the login.authenticate function in share/lua/5.1/teamf1lualib/login.lua or (2) captivePortal.lua.
Weakness: CWE-89
Which versions are affected by CVE-2013-5945?
It affects 8 products.
Products include Dlink Dsr-1000 Firmware, Dlink Dsr-1000n Firmware, Dlink Dsr-150 Firmware, Dlink Dsr-150n Firmware, Dlink Dsr-250 Firmware, Dlink Dsr-250n Firmware and 2 more.
How do I fix CVE-2013-5945?
No fix has been published for CVE-2013-5945 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2013-5945 being exploited?
There is no known exploitation of CVE-2013-5945 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-h4fc-4px4-xq89.