The issue is related to the implementation of the WEB CmdFileList() function in the D-Link DAP-2020 Wi-Fi access point's firmware, which fails to neutralize special elements used in operating system commands when processing CGI scripts. This allows an attacker to execute arbitrary code on the device. The flaw exists due to the lack of proper validation of a user-supplied string before using it to execute a system call, enabling an attacker to execute code in the context of root. No authentication is required to exploit this issue.