Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Red Hat 7 Advisory RHSA-2015:2184-07 Moderate: Realmd Configuration Issues

red hat
Calendar Grey November 19, 2015
Scroller Redhat
Newly released realmd updates address security vulnerabilities, resolve bugs, and offer improvements for users of Red Hat Enterprise Linux 7.
Updated realmd packages that fix two security issues, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 7

Solution

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

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Summary

The realmd DBus system service manages discovery of and enrollment in realms and domains, such as Active Directory or Identity Management (IdM). The realmd service detects available domains, automatically configures the system, and joins it as an account to a domain.
A flaw was found in the way realmd parsed certain input when writing configuration into the sssd.conf or smb.conf file. A remote attacker could use this flaw to inject arbitrary configurations into these files via a newline character in an LDAP response. (CVE-2015-2704)
It was found that the realm client would try to automatically join an active directory domain without authentication, which could potentially lead to privilege escalation within a specified domain. (BZ#1205751)
The realmd packages have been upgraded to upstream version 0.16.1, which provides a number of bug fixes and enhancements over the previous version. (BZ#1174911)
This update also fixes the following bugs:
* Joining a Red Hat Enterprise Linux machine to a domain using the realm utility creates /home/domainname/[username]/ directories for domain users. Previously, SELinux labeled the domain users' directories incorrectly. As a consequence, the domain users sometimes experienced problems with SELinux policy. This update modifies the realmd service default behavior so that the domain users' directories are compatible with the standard SELinux policy. (BZ#1241832)
* Previously, the realm utility was unable to join or discover domains with domain names containing underscore (_). The realmd service has been modified to process underscores in domain names correctly, which fixes the described bug. (BZ#1243771)
In addition, this update adds the following enhancement:
* The realmd utility now allows the user to disable automatic ID mapping from the command line. To disable the mapping, pass the "--automatic-id-mapping=no" option to the realmd utility. (BZ#1230941)
All realmd users are advised to upgrade to these updated packages, which correct these issues and add these enhancements.

References

https://access.redhat.com/security/cve/CVE-2015-2704 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: realmd-0.16.1-5.el7.src.rpm
x86_64: realmd-0.16.1-5.el7.x86_64.rpm realmd-debuginfo-0.16.1-5.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: realmd-debuginfo-0.16.1-5.el7.x86_64.rpm realmd-devel-docs-0.16.1-5.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: realmd-0.16.1-5.el7.src.rpm
x86_64: realmd-0.16.1-5.el7.x86_64.rpm realmd-debuginfo-0.16.1-5.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64: realmd-debuginfo-0.16.1-5.el7.x86_64.rpm realmd-devel-docs-0.16.1-5.el7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: realmd-0.16.1-5.el7.src.rpm
aarch64: realmd-0.16.1-5.el7.aarch64.rpm realmd-debuginfo-0.16.1-5.el7.aarch64.rpm
ppc64: realmd-0.16.1-5.el7.ppc64.rpm realmd-debuginfo-0.16.1-5.el7.ppc64.rpm
ppc64le: realmd-0.16.1-5.el7.ppc64le.rpm realmd-debuginfo-0.16.1-5.el7.ppc64le.rpm
s390x: realmd-0.16.1-5.el7.s390x.rpm realmd-debuginfo-0.16.1-5.el7.s390x.rpm
x86_64: realmd-0.16.1-5.el7.x86_64.rpm realmd-debuginfo-0.16.1-5.el7.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
aarch64: realmd-debuginfo-0.16.1-5.el7.aarch64.rpm realmd-devel-docs-0.16.1-5.el7.aarch64.rpm
ppc64: realmd-debuginfo-0.16.1-5.el7.ppc64.rpm

Read the Full Advisory


Advisory ID: RHSA-2015:2184-07
Product: Red Hat Enterprise Linux
Issue date: 2015-11-19

Topic

Updated realmd packages that fix two security issues, several bugs, and addvarious enhancements are now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having Moderate securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

1142191 - realm command crashes when no input password

1174911 - Rebase to 0.16.x

1205751 - realmd: unauthenticated Active Directory join

1205752 - CVE-2015-2704 realmd: untrusted data is used when configuring sssd.conf and/or smb.conf

1241832 - Wrong SELinux label on domain users home folders1243771 - realm fails to join domain names with underscore in name

1271618 - net ads keytab add fails on system joined to AD with RHEL 7.2 realm join

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.