SV-260476r1015003_rule
V-260476
SRG-OS-000366-GPOS-00153
UBTU-22-214010
CAT III
10
Configure APT to prevent the installation of patches, service packs, device drivers, or Ubuntu operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization.
Add or modify the following line in any file under the "/etc/apt/apt.conf.d/" directory:
APT::Get::AllowUnauthenticated "false";
Verify that APT is configured to prevent the installation of patches, service packs, device drivers, or Ubuntu operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization by using the following command:
$ grep -i allowunauthenticated /etc/apt/apt.conf.d/*
/etc/apt/apt.conf.d/01-vendor-ubuntu:APT::Get::AllowUnauthenticated "false";
If "APT::Get::AllowUnauthenticated" is not set to "false", is commented out, or is missing, this is a finding.
V-260476
False
UBTU-22-214010
Verify that APT is configured to prevent the installation of patches, service packs, device drivers, or Ubuntu operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization by using the following command:
$ grep -i allowunauthenticated /etc/apt/apt.conf.d/*
/etc/apt/apt.conf.d/01-vendor-ubuntu:APT::Get::AllowUnauthenticated "false";
If "APT::Get::AllowUnauthenticated" is not set to "false", is commented out, or is missing, this is a finding.
M
5594