| Summary: | ntp new security issues (June 2016 upstream advisory) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, sysadmin-bugs, tarazed25 |
| Version: | 5 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://lwn.net/Vulnerabilities/690012/ | ||
| Whiteboard: | MGA5-64-OK MGA5-32-OK advisory | ||
| Source RPM: | ntp-4.2.6p5-24.5.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
David Walser
2016-06-03 20:26:20 CEST
x86_64
Installed this yesterday. Running with the default /etc/ntp.conf file and default settings.
$ systemctl status ntpd.service
â ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
Active: active (running) since Fri 2016-06-03 22:59:58 BST; 9h ago
Main PID: 27056 (ntpd)
CGroup: /system.slice/ntpd.service
ââ27056 /usr/sbin/ntpd -u ntp:ntp -g
The -g option prevents a first time exit if the the time difference between the system clock and the NTP server is greater than the panic threshold.
The date command returns a time agreeing with a local radio-controlled clock.
Good for 64-bits.CC:
(none) =>
tarazed25
Len Lawrence
2016-06-04 10:01:54 CEST
Whiteboard:
(none) =>
MGA5-64-OK
Len Lawrence
2016-06-04 10:10:10 CEST
Whiteboard:
MGA5-64-OK =>
(none) Paying more attention to the advisory...
Ran the ntpq and ntpdc commands in listing mode to ensure that they worked.
$ sudo ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+hotel.zq1.de 122.227.206.195 3 u 873 1024 377 35.857 -0.269 0.727
*ntp1.ivlan.net 46.46.152.214 2 u 633 1024 377 70.572 -0.627 1.771
+admin2.debrecen 185.219.2.214 2 u 802 1024 377 52.409 0.619 3.115
$ sudo ntpdc -l
client admin2.debrecen.hpc.niif.hu
client hotel.zq1.de
client ntp1.ivlan.net
$ sudo ntpdc -s
remote local st poll reach delay offset disp
=======================================================================
.admin2.debrecen 192.168.1.103 2 1024 377 0.05118 0.000156 0.12442
.hotel.zq1.de 192.168.1.103 3 1024 377 0.03584 -0.000269 0.13914
*ntp1.ivlan.net 192.168.1.103 2 1024 377 0.07056 -0.000627 0.13885
$ sudo ntpdc -c peers
remote local st poll reach delay offset disp
=======================================================================
=admin2.debrecen 192.168.1.103 2 1024 377 0.05118 0.000156 0.12442
=hotel.zq1.de 192.168.1.103 3 1024 377 0.03584 -0.000269 0.13914
*ntp1.ivlan.net 192.168.1.103 2 1024 377 0.07047 -0.000063 0.12364
Len Lawrence
2016-06-04 10:26:33 CEST
Whiteboard:
(none) =>
MGA5-64-OK Updating on 1586 virtualbox
# systemctl restart ntpd.service
# systemctl status ntpd.service
â ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
Active: active (running) since Sun 2016-06-05 20:16:52 BST; 17s ago
Process: 5278 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 5280 (ntpd)
CGroup: /system.slice/ntpd.service
ââ5280 /usr/sbin/ntpd -u ntp:ntp -g
Jun 05 20:16:52 alkaid ntpd[5280]: Listen and drop on 1 v6wildcard :: UDP 123
Jun 05 20:16:52 alkaid ntpd[5280]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun 05 20:16:52 alkaid ntpd[5280]: Listen normally on 3 enp0s3 192.168.1.10...23
Jun 05 20:16:52 alkaid ntpd[5280]: Listen normally on 4 lo ::1 UDP 123
Jun 05 20:16:52 alkaid ntpd[5280]: Listen normally on 5 enp0s3 fe80::a00:27...23
Jun 05 20:16:52 alkaid ntpd[5280]: peers refreshed
Jun 05 20:16:52 alkaid ntpd[5280]: Listening on routing socket on fd #22 fo...es
Jun 05 20:16:52 alkaid ntpd[5280]: 0.0.0.0 c016 06 restart
Jun 05 20:16:52 alkaid ntpd[5280]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
Jun 05 20:16:52 alkaid ntpd[5280]: 0.0.0.0 c011 01 freq_not_set
Hint: Some lines were ellipsized, use -l to show in full.
Displayed time is correct.
$ sudo ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
146.185.139.19 210.240.96.206 2 u 25 64 7 25.238 0.102 0.912
mirror.muntinte 193.190.230.65 2 u 25 64 7 31.695 0.818 0.732
ns1.rx-name.net 232.213.183.238 3 u 23 64 7 77.356 1.007 4.172
[lcl@alkaid ~]$ sudo ntpdc -l
client ns1.rx-name.net
client 146.185.139.19
client mirror.muntinternet.net
[lcl@alkaid ~]$ sudo ntpdc -s
remote local st poll reach delay offset disp
=======================================================================
ns1.rx-name.net 192.168.1.109 3 64 17 0.07735 0.001007 0.96913
146.185.139.19 192.168.1.109 2 64 17 0.02524 0.000102 0.96933
*mirror.muntinte 192.168.1.109 2 64 17 0.03140 0.000139 0.96870
[lcl@alkaid ~]$ sudo ntpdc -c peers
remote local st poll reach delay offset disp
=======================================================================
=ns1.rx-name.net 192.168.1.109 3 64 17 0.07735 0.001007 0.96913
=146.185.139.19 192.168.1.109 2 64 17 0.02524 0.000102 0.96933
*mirror.muntinte 192.168.1.109 2 64 17 0.03140 0.000139 0.96870
It occurred to me that I might not have restarted the NTP daemon after updating.
# systemctl start ntpd.service
# systemctl status ntpd.service
â ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
Active: active (running) since Sun 2016-06-05 20:23:58 BST; 10s ago
Process: 9365 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 9367 (ntpd)
CGroup: /system.slice/ntpd.service
ââ9367 /usr/sbin/ntpd -u ntp:ntp -g
Jun 05 20:23:58 difda ntpd[9367]: Listen and drop on 1 v6wildcard :: UDP 123
Jun 05 20:23:58 difda ntpd[9367]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun 05 20:23:58 difda ntpd[9367]: Listen normally on 3 enp3s0 192.168.1.50 UDP 123
Jun 05 20:23:58 difda ntpd[9367]: Listen normally on 4 lo ::1 UDP 123
Jun 05 20:23:58 difda ntpd[9367]: Listen normally on 5 enp3s0 fe80::dacb:8aff:fe52:52b4 UDP 123
Jun 05 20:23:58 difda ntpd[9367]: peers refreshed
Jun 05 20:23:58 difda ntpd[9367]: Listening on routing socket on fd #22 for interface updates
Jun 05 20:23:58 difda ntpd[9367]: 0.0.0.0 c016 06 restart
Jun 05 20:23:58 difda ntpd[9367]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
Jun 05 20:23:58 difda ntpd[9367]: 0.0.0.0 c011 01 freq_not_set
Len Lawrence
2016-06-05 21:30:42 CEST
Whiteboard:
MGA5-64-OK =>
MGA5-64-OK MGA5-32-OK Validating this. Could someone from sysadmin please push to 5 updates. Thanks.
Len Lawrence
2016-06-05 21:32:11 CEST
Keywords:
(none) =>
validated_update
David Walser
2016-06-06 18:36:39 CEST
URL:
(none) =>
http://lwn.net/Vulnerabilities/690012/
Dave Hodgins
2016-06-07 20:16:18 CEST
CC:
(none) =>
davidwhodgins An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGASA-2016-0219.html Status:
NEW =>
RESOLVED |