IBM Support

Security Bulletin: Vulnerabilities in NTPv4 affect AIX (CVE-2020-11868, CVE-2020-13817, and CVE-2020-15025)

Security Bulletin


Summary

There are vulnerabilities in NTPv4 that affect AIX.

Vulnerability Details

CVEID:   CVE-2020-15025
DESCRIPTION:   NTP is vulnerable to a denial of service, caused by a memory leak when a CMAC key is used and associated with a CMAC algorithm in the ntp.keys file in ntpd. By sending specially-crafted packets, a remote authenticated attacker could exploit this vulnerability to consume all available memory resources.
CVSS Base score: 4.4
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/184004 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H)

CVEID:   CVE-2020-13817
DESCRIPTION:   NTP is vulnerable to a denial of service, caused by an issue when relying on unauthenticated IPv4 time sources in ntpd. By predicting transmit timestamps for use in spoofed packets, a remote attacker could exploit this vulnerability to cause the daemon to crash or system time change.
CVSS Base score: 7.4
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/183494 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H)

CVEID:   CVE-2020-11868
DESCRIPTION:   NTP is vulnerable to a denial of service, caused by a flaw in ntpd. By sending a server mode packet with a spoofed source IP address, a remote attacker could exploit this vulnerability to block unauthenticated synchronization resulting in a denial of service condition.
CVSS Base score: 5.9
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/180011 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)

Affected Products and Versions

Affected Product(s)Version(s)
AIX7.1
AIX7.2
VIOS3.1

The vulnerabilities in the following filesets are being addressed:

Fileset Lower Level Upper Level 
ntp.rte 7.4.2.8100 7.4.2.8130
 
To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in AIX user's guide.
 
Example:  lslpp -L | grep -i ntp.rte

Remediation/Fixes

A. APARS
            
IBM has assigned the following APARs to this problem:

AIX Level  APAR
 7.1.5 IJ26684
 7.2.2 IJ26684
 7.2.3 IJ26684
 7.2.4IJ26684

 

VIOS Level  APAR
 3.1.0 IJ26684
 3.1.1 IJ26684

Subscribe to the APARs here:

https://www.ibm.com/support/pages/apar/IJ26684

By subscribing, you will receive periodic email alerting you to the status of the APAR, and a link to download the fix once it becomes available.

B. FIXES

AIX fixes are available.

The AIX fixes can be downloaded via ftp or http from:

ftp://aix.software.ibm.com/aix/efixes/security/ntp_fix13.tar
http://aix.software.ibm.com/aix/efixes/security/ntp_fix13.tar
https://aix.software.ibm.com/aix/efixes/security/ntp_fix13.tar 

The link above is to a tar file containing this signed advisory, fix packages, and OpenSSL signatures for each package. The fixes below include prerequisite checking. This will enforce the correct mapping between the fixes and AIX Technology Levels.
           

AIX Level Interim Fix (*.Z)
 7.1.5IJ26684s9a.200806.epkg.Z
 7.2.2IJ26684s9a.200806.epkg.Z
 7.2.3IJ26684s9a.200806.epkg.Z
 7.2.4IJ26684s9a.200806.epkg.Z
VIOS Level Interim Fix (*.Z)
 3.1.0IJ26684s9a.200806.epkg.Z
 3.1.1IJ26684s9a.200806.epkg.Z

To extract the fixes from the tar file:

tar xvf ntp_fix13.tar 
cd ntp_fix13

Verify you have retrieved the fixes intact:

The checksums below were generated using the "openssl dgst -sha256 file" command as the following:

openssl dgst -sha256  filename
4a7e37946fae27da239e575b2a917ca5a82bbc9d31be1610b27b394d26ce9523IJ26684s9a.200806.epkg.Z

 

These sums should match exactly. The OpenSSL signatures in the tar file and on this advisory can also be used to verify the integrity of the fixes.  If the sums or signatures cannot be confirmed, contact IBM Support at http://ibm.com/support/ and describe the discrepancy.         
 
openssl dgst -sha1 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file]
 
openssl dgst -sha1 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file]

Published advisory OpenSSL signature file location:
 
http://aix.software.ibm.com/aix/efixes/security/ntp_advisory13.asc.sig
https://aix.software.ibm.com/aix/efixes/security/ntp_advisory13.asc.sig
ftp://aix.software.ibm.com/aix/efixes/security/ntp_advisory13.asc.sig 

C. FIX AND INTERIM FIX INSTALLATION

If possible, it is recommended that a mksysb backup of the system be created. Verify it is both bootable and readable before proceeding.

The fix will not take affect until any running xntpd servers have been stopped and restarted with the  following commands:

stopsrc -s xntpd
startsrc -s xntpd

To preview a fix installation:

installp -a -d fix_name -p all  # where fix_name is the name of the
                                # fix package being previewed.

To install a fix package:

installp -a -d fix_name -X all  # where fix_name is the name of the
                                # fix package being installed.

After installation the ntp daemon must be restarted:

stopsrc -s xntpd
startsrc -s xntpd

Interim fixes have had limited functional and regression testing but not the full regression testing that takes place for Service Packs; however, IBM does fully support them.

Interim fix management documentation can be found at:

http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

To preview an interim fix installation:

emgr -e ipkg_name -p         # where ipkg_name is the name of the
                             # interim fix package being previewed.

To install an interim fix package:

emgr -e ipkg_name -X         # where ipkg_name is the name of the
                             # interim fix package being installed.

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

24 Aug 2020: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location

Worldwide

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7.1,7.2","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
26 October 2020

UID

ibm16353453