An unauthenticated remote attacker can execute arbitrary commands with root privileges on the web management interface. The issue occurs because the `country` parameter in the write operation of the `/cgi-bin/luci;stok=/locale` endpoint is not properly sanitized before being passed to the `popen()` function, leading to command injection. This flaw has been exploited in the wild by the Ballista botnet and Mirai-based malware to compromise over 6,000 devices globally, particularly in Brazil, Poland, Turkey, and the UK. Compromised devices are used to build botnets for large-scale DDoS attacks, including DNS reflection attacks, and to redirect users to phishing sites by modifying DNS settings.