The vulnerability resides in the `sub 417D74()` function of the TOTOLINK X6000R router's firmware. The issue is due to a lack of data sanitization on the management level when processing the `file name` parameter. This allows unauthenticated attackers to execute arbitrary commands via a crafted request.