SV-270695r1066574_rule
V-270695
SRG-OS-000366-GPOS-00153
UBTU-24-300001
CAT III
10
Configure APT to prevent the installation of patches, service packs, device drivers, or Ubuntu 24.04 LTS components without verification they have been digitally signed using a certificate recognized and approved by the organization.
Remove/update any APT configuration files that contain the variable "AllowUnauthenticated" to "false" or remove "AllowUnauthenticated" entirely from each file. Below is an example of setting the "AllowUnauthenticated" variable to "false":
APT::Get::AllowUnauthenticated "false";
Verify that APT is configured to prevent the installation of patches, service packs, device drivers, or Ubuntu 24.04 LTS components without verification they have been digitally signed using a certificate recognized and approved by the organization with the following command:
$ grep AllowUnauthenticated /etc/apt/apt.conf.d/*
If any files are returned from the command with "AllowUnauthenticated" are set to "true", this is a finding.
V-270695
False
UBTU-24-300001
Verify that APT is configured to prevent the installation of patches, service packs, device drivers, or Ubuntu 24.04 LTS components without verification they have been digitally signed using a certificate recognized and approved by the organization with the following command:
$ grep AllowUnauthenticated /etc/apt/apt.conf.d/*
If any files are returned from the command with "AllowUnauthenticated" are set to "true", this is a finding.
M
5673