D-Link DIR-823X AX3000 Dual-Band Gigabit Wireless Router v21_D240126 was discovered to contain a remote code execution (RCE) vulnerability in the ntp_zone_val parameter at /goform/set_ntp. This vulnerability is exploited via a crafted HTTP request.
The vulnerability exists in the ntp_zone_val parameter handled by the /goform/set_ntp endpoint. The attacker sends a crafted HTTP request containing a malicious payload in this parameter, which leads to execution of arbitrary code on the device. The vulnerability is classified as CWE-94 (Improper Control of Code Generation) and indicates a lack of proper validation and sanitization of input data before processing.
An unauthorized attacker can remotely, without any authentication, execute arbitrary code on the device with the privilege level of the process handling the request — which in practice means complete takeover of the router, ability to modify network configuration, and potential use of the device as an entry point to the local network.
Patches available from the manufacturer should be applied according to the references. Until updates are applied, it is recommended to restrict access to the router's administrative panel only to trusted hosts and disable remote management of the device from the WAN network side.
D-Link DIR-823X AX3000 Dual-Band Gigabit Wireless Router with firmware version v21_D240126
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDlink Dir 823x
HWDlinkwszystkie wersjeDlink Dir 823x Firmware
OSDlink240126
Related vulnerabilities
D-Link DIR-823X – command injection umożliwiający zdalne wykonanie kodu
Command Injection w D-Link DIR-823X — zdalne wykonanie kodu przez parametr target_addr
D-Link DIR-823X: Command Injection przez parametr macaddr (RCE)
Command injection w D-Link DIR-823X umożliwiający zdalne wykonanie kodu
A command injection vulnerability in D-Link DIR-823X 240126 and 240802 allows an authorized attacker to execut...