D-Link DIR-823X OS Command Injection Vulnerability

Vulnerability

A command injection vulnerability has been identified in the D-Link DIR-823X router, specifically in the 250416 firmware version. The issue arises in the '/goform/set_ac_status' endpoint, where the 'ac_ipaddr', 'ac_ipstatus', and 'ap_randtime' parameters are not properly sanitized. This allows authenticated attackers to inject arbitrary operating system commands, which are executed with root privileges when the configuration is saved and the relevant service is restarted.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the router with root privileges.

Reproduction

To reproduce this vulnerability, an authenticated user can send a POST request to the '/goform/set_ac_status' endpoint with a payload that includes a newline character in the 'ac_ipaddr', 'ac_ipstatus', or 'ap_randtime' parameters. The injected command can be crafted to execute any desired operation on the router's operating system.

Added: Feb 8, 2026, 2:20 AM
Updated: Feb 8, 2026, 2:20 AM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
2.5
exploitability
6.2
remediation
0.0
relevance
2.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.