Submit #749263: D-Link DIR-823X 250416 OS Command Injectioninfo

TitleD-Link DIR-823X 250416 OS Command Injection
DescriptionThe D-Link DIR-823X router is susceptible to a Remote Command Injection vulnerability via the /goform/set_upnp endpoint. The flaw exists in the backend function sub_420618, which fails to adequately filter the newline character (\n or 0x0A) when handling the upnp_enable parameter. An authenticated attacker can inject arbitrary shell commands by using a newline to terminate the intended UCI configuration command and initiate a malicious instruction. These commands are subsequently executed with root privileges.
Source⚠️ https://github.com/master-abc/cve/issues/31
User
 jiefengliang (UID 93721)
Submission01/30/2026 11:40 (3 months ago)
Moderation02/07/2026 15:58 (8 days later)
StatusAccepted
VulDB entry344876 [D-Link DIR-823X 250416 /goform/set_upnp sub_420618 upnp_enable os command injection]
Points20

Do you need the next level of professionalism?

Upgrade your account now!