Rapid7 Vulnerability & Exploit Database

Zyxel/Eir D1000 DSL Modem NewNTPServer Command Injection Over TR-064

Back to Search

Zyxel/Eir D1000 DSL Modem NewNTPServer Command Injection Over TR-064



Broadband DSL modems manufactured by Zyxel and distributed by some European ISPs are vulnerable to a command injection vulnerability when setting the 'NewNTPServer' value using the TR-64 SOAP-based configuration protocol. In the tested case, no authentication is required to set this value on affected DSL modems. This exploit was originally tested on firmware versions up to 2.00(AADU.5)_20150909.


  • Kenzo
  • Michael Messner <devnull@s3cur1ty.de>
  • todb <todb@metasploit.com>
  • wvu <wvu@metasploit.com>
  • 0x27


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/tr064_ntpserver_cmdinject
msf exploit(tr064_ntpserver_cmdinject) > show targets
msf exploit(tr064_ntpserver_cmdinject) > set TARGET < target-id >
msf exploit(tr064_ntpserver_cmdinject) > show options
    ...show and set options...
msf exploit(tr064_ntpserver_cmdinject) > 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