Scientific Linux Security Update : realmd on SL7.x x86_64 (20151119)

medium Nessus Plugin ID 87571

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

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.

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.

This update also fixes the following bugs :

- Joining a Scientific 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.

- 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.

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.

Solution

Update the affected realmd, realmd-debuginfo and / or realmd-devel-docs packages.

See Also

http://www.nessus.org/u?950ca40d

Plugin Details

Severity: Medium

ID: 87571

File Name: sl_20151119_realmd_on_SL7_x.nasl

Version: 2.4

Type: local

Agent: unix

Published: 12/22/2015

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:realmd, p-cpe:/a:fermilab:scientific_linux:realmd-debuginfo, p-cpe:/a:fermilab:scientific_linux:realmd-devel-docs, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 11/19/2015

Vulnerability Publication Date: 5/18/2015

Reference Information

CVE: CVE-2015-2704