Red Hat: 'up2date' gpg signature verification vulnerability
Summary
Summary
The Red Hat Update Agent, up2date, automatically queries the Red HatNetwork servers and determines which packages need to be updated onyour machine.up2date versions 3.0.7 and 3.1.23 incorrectly check RPM GPG signatures.These are the versions found in Red Hat Linux 8.0 and 9.This bug allows packages which have no GPG signature to be installed byup2date if they are provided by the Red Hat Network servers. The intendedbehaviour is that only packages signed with the Red Hat package signing keywill be installed.For an attacker to make use of this flaw, they would have to make unsignedpackages appear on the Red Hat Network. Connections to the Red Hat Networkservers are authenticated and verified by the use of SSL, so it is notpossible to intercept the connection to Red Hat Network servers and giveunsigned packages. To make use of this flaw, an attacker wouldhave to compromise the Red Hat Network servers at Red Hat.Because of these factors, the risk of exploiting this bug is low. However,we advise that all users of up2date update to these erratum packages.Note that all other variations of package signature checks workcorrectly.The fix was to change the code so that packages with no GPG signatureare rejected in the same way as those with bad GPG signatures (theup2date client refuses to install them).Red Hat would like to thank Barry Nathan for finding and reporting this error.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
5. RPMs required:
Red Hat Linux 8.0:
SRPMS:
i386:
Red Hat Linux 9:
SRPMS:
i386:
6. Verification:
MD5 sum Package Name
606193c00a7fb419b4952b68f1245082 8.0/en/os/SRPMS/up2date-3.0.7.1-2.src.rpm
be91944cf454244846a96b94a3efaa74 8.0/en/os/i386/up2date-3.0.7.1-2.i386.rpm
0adeb9cf7fff1754d183894fa40111bc
8.0/en/os/i386/up2date-gnome-3.0.7.1-2.i386.rpm
99d3b05223b596cf8d949c27b48e2ebd 9/en/os/SRPMS/up2date-3.1.23.1-5.src.rpm
c6e89c3f118b5734a34d7275d8156596 9/en/os/i386/up2date-3.1.23.1-5.i386.rpm
bf0b79cfeaaa6ed947609a27da5c2d65 9/en/os/i386/up2date-gnome-3.1.23.1-5.i386.rpm
These packages are GPG signed by Red Hat for security. Our key is
available from Product Signing Keys - Red Hat Customer Portal
You can verify each package with the following command:
rpm --checksig -v
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
md5sum
References
Package List
Topic
Topic
Updated up2date packages for Red Hat Linux 8.0 and 9 fix RPM GPG signature
verification.
Relevant Releases Architectures
Red Hat Linux 8.0 - i386
Red Hat Linux 9 - i386
Bugs Fixed