TrueOnline / ZyXEL P660HN-T v2 Router Authenticated Command Injection
TrueOnline is a major ISP in Thailand, and it distributes a customized version of the ZyXEL P660HN-T v2 router. This customized version has an authenticated command injection vulnerability in the remote log forwarding page. This can be exploited using the "supervisor" account that comes with a default password on the device. This module was tested in an emulated environment, as the author doesn't have access to the Thai router any more. Any feedback should be sent directly to the module's author, as well as to the Metasploit project. Note that the inline payloads work best. There are Turkish and other language strings in the firmware, so it is likely that this firmware is not only distributed in Thailand. Other P660HN-T v2 in other countries might be vulnerable too.
- Pedro Ribeiro <pedrib [at] gmail.com>
- P660HN-T v2
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/trueonline_p660hn_v2_rce msf exploit(trueonline_p660hn_v2_rce) > show targets ...targets... msf exploit(trueonline_p660hn_v2_rce) > set TARGET <target-id> msf exploit(trueonline_p660hn_v2_rce) > show options ...show and set options... msf exploit(trueonline_p660hn_v2_rce) > exploit