RHEL 7.4 and ntpq noquery
This week I noticed you can pass a network time protocol query read variable to a RHEL 7 OS despite the /etc/ntp.conf restrict noquery. I get that ntpd versions prior to 4.2.7 are vulnerable by default, but if you're still on 4.2.6 are there options available?
ntpq -c rv [ip addr]
ntpd --version
Links
Open NTP Version (Mode 6) Scanning Project
NTP Amplification Attacks Using CVE-2013-5211
Responses
Hello
I checked with a colleague, there is no difference between 4.2.6 and 4.2.7(8) with respect to the ntpq queries, both are susceptible to amplification attacks. The default configuration doesn't allow remote queries, only permits queries from localhost.
Have you modified the config or are you testing it locally? Best provide ntp.conf in case of further questions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
