Skip to navigation

Security Advisory Important: ipa security update

Advisory: RHSA-2008:0860-12
Type: Security Advisory
Severity: Important
Issued on: 2008-09-10
Last updated on: 2008-09-10
Affected Products: Red Hat Enterprise IPA v1 EL5
CVEs (cve.mitre.org): CVE-2008-3274

Details

Updated ipa packages that fix a security flaw are now available for Red Hat
Enterprise IPA.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

Red Hat Enterprise IPA is an integrated solution to provide
centrally-managed Identity (machines, users, virtual machines, groups,
authentication credentials), Policy (configuration settings, access control
information) and Audit (events, logs, analysis) services.

A flaw was found in the Red Hat Enterprise IPA installation procedure. The
master Kerberos password was set up in the LDAP server in such a way that
it was possible to retrieve the password via an anonymous LDAP connection.
(CVE-2008-3274)

Note: the master Kerberos password is used to encrypt keys. This flaw does
not lead to individual keys being exposed.

Users of Red Hat IPA should upgrade to these updated packages and perform
the operations explained in the solution to resolve this issue.


Solution

To fully resolve this problem, you need to manually perform the following
steps after installing the updated packages:

Disclaimer: The following procedure performs critical, low-level operations
on your IPA system, and it is imperative that you back up your system
before carrying out any of the following steps. A failure during this
procedure may compromise the readability of all or part of your Kerberos
keys.

1. Upgrade all of your servers (masters and replicas) and restart the
dirsrv service on all of them. No other daemon needs to be restarted at
this stage.

2. On one master server, run the following tool:
$ ipa-fix-2008-3274 --check

This should report that the system is vulnerable.

3. On the same master server, run the following tool:
$ ipa-fix-2008-3274 --fix

This should dump all Kerberos principals, reload them, and then return a
message stating that the operation completed successfully. If not, you
should contact Red Hat GSS for immediate assistance.

This step should also create a .gpg file symmetrically-encrypted with the
Directory Manager password. This file contains a backup of all Kerberos
key material and is written to /var/lib/ipa/.

Attention: DO NOT RUN THIS COMMAND ON ANY OTHER SERVER. See the next step.

4. On all other IPA servers, run the following tool:
$ ipa-fix-2008-3274 --fix-replica

This will report that the system is NOT vulnerable and will then download
the master key for the local KDC instance. This command will restart the
KDC service.

If the command reports a system as anything other than not vulnerable,
verify that replication between masters is working correctly. The procedure
will not successfully complete until replication failures are addressed.


Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Enterprise IPA v1 EL5

SRPMS:
ipa-1.0.0-23.el5ipa.src.rpm     MD5: d419a28a9dcb1f1d7260ffca40d97b12
 
IA-32:
ipa-admintools-1.0.0-23.el5ipa.i386.rpm     MD5: 932171c379ceb912330715c55cd8ead6
ipa-client-1.0.0-23.el5ipa.i386.rpm     MD5: 0325a3fce2b0f17a33c8c47e2c2c5f22
ipa-python-1.0.0-23.el5ipa.i386.rpm     MD5: ed48501e8d13a5632a839fc23786da31
ipa-server-1.0.0-23.el5ipa.i386.rpm     MD5: e8fab1b0e7f2b55dad6901851eec548d
ipa-server-selinux-1.0.0-23.el5ipa.i386.rpm     MD5: 0da830949a7270aa7774e804b356323d
 
x86_64:
ipa-admintools-1.0.0-23.el5ipa.x86_64.rpm     MD5: 949cc0e66268d986eb30b709e04d6445
ipa-client-1.0.0-23.el5ipa.x86_64.rpm     MD5: 1338b5c6db21c39e141ae525634bc52c
ipa-python-1.0.0-23.el5ipa.x86_64.rpm     MD5: 2b4413f05f583585a8300f885aea3799
ipa-server-1.0.0-23.el5ipa.x86_64.rpm     MD5: 0ee50e082717f63a6dadee0db7efdc9e
ipa-server-selinux-1.0.0-23.el5ipa.x86_64.rpm     MD5: d33559615f6b0e27e32e1fdd8da4ae71
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

457835 - CVE-2008-3274 IPA Kerberos master password disclosure


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/