A weakness exists in the Environment Variable Handler component of the D-Link DIR-823X router. Manipulation of the `terminal addr`, `server ip`, or `server port` argument within the `sub 412E7C` function of the `/usr/sbin/goahead` file can lead to command injection. This issue can be exploited remotely. The exploit has been made publicly available.