Rapid7 Vulnerability & Exploit Database

NTP Clock Variables Disclosure

Back to Search

NTP Clock Variables Disclosure



This module reads the system internal NTP variables. These variables contain potentially sensitive information, such as the NTP software version, operating system version, peers, and more.


  • Ewerson Guimaraes(Crash) <crash@dclabs.com.br>
  • Jon Hart <jon_hart@rapid7.com>


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 auxiliary/scanner/ntp/ntp_readvar
msf auxiliary(ntp_readvar) > show actions
msf auxiliary(ntp_readvar) > set ACTION < action-name >
msf auxiliary(ntp_readvar) > show options
    ...show and set options...
msf auxiliary(ntp_readvar) > run 

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