D-Link DIR-882
cpe:2.3:h:d-link:dir-882:*:*:*:*:*:*:*, +5 more
- DIR882A1_FW102B02
A command injection vulnerability has been identified in the D-Link DIR-882 Router firmware DIR882A1_FW102B02. The issue arises in the 'prog.cgi' and 'rc' binaries, where user-supplied email configuration parameters are stored in NVRAM and later retrieved and executed as shell commands without proper sanitization. This vulnerability allows unauthenticated remote attackers to execute arbitrary commands on the device via crafted HTTP requests to the router's web interface.
Exploitation of this vulnerability allows for arbitrary command execution on the affected router.
To reproduce this vulnerability, send a POST request to '/cgi-bin/prog.cgi' with crafted email settings that include injected commands, such as in the 'SMTPServerPort' field. The 'EmailFrom', 'EmailTo', 'SMTPServerAddress', and 'AccountName' fields must also be populated. Once the router processes this request, the injected command will be executed on the device.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.