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.
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
...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