Synopsis
Post-Auth Command Injection as Root
AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (6.8/6.4)
An authenticated user can exploit a command injection vulnerability in the firmware-upgrade command in the restricted shell that the D-Link access point exposes over telnet, ssh, and console connections, and thereby obtain a full root busybox (ash) shell on the device. This can be done by passing the string \$\(ANY_COMMAND\ \&\>2\) as an argument, where ANY_COMMAND is a shell command with spaces and special characters escaped, and \&\>2 serves to redirect output to standard error, making it visible to the attacker.
Disclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]