Rapid7 Vulnerability & Exploit Database

TrueOnline / ZyXEL P660HN-T v2 Router Authenticated Command Injection

Back to Search

TrueOnline / ZyXEL P660HN-T v2 Router Authenticated Command Injection

Disclosed
12/26/2016
Created
05/30/2018

Description

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.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.com>

Platform

Linux

Architectures

mipsbe

Development

Module Options

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;