RHEL 5 / 6 : rhncfg (RHSA-2012:1369)

medium Nessus Plugin ID 78937

Synopsis

The remote Red Hat host is missing a security update.

Description

The remote Redhat Enterprise Linux 5 / 6 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2012:1369 advisory.

Red Hat Network Tools provide programs and libraries that allow your system to use provisioning, monitoring, and configuration management capabilities provided by Red Hat Network and Red Hat Network Satellite.

It was discovered that the Red Hat Network (RHN) Configuration Client (rhncfg-client) tool set world-readable permissions on the /var/log/rhncfg-actions file, used to store the output of different rhncfg-client actions (such as diffing and verifying files). This could possibly allow a local attacker to obtain sensitive information they would otherwise not have access to. (CVE-2012-2679)

Note: With this update, rhncfg-client cannot create diffs of files that are not already world-readable, and /var/log/rhncfg-actions can only be read and written to by the root user.

This issue was discovered by Paul Wouters of Red Hat.

This update also fixes the following bugs:

* When the user attempted to use the rhncfg-client get command to download a backup of deployed configuration files and these configuration files contained a broken symbolic link, the command failed with an error.
This update ensures that rhncfg-client get no longer fails in this scenario. (BZ#836445)

* The SYNOPSIS section of the rhn-actions-control(8) manual page has been updated to include the --report command line option as expected.
(BZ#820517)

As well, this update adds the following enhancement:

* The rhncfg-manager utility now supports a new command line option,
--selinux-context. This option can be used to upload files and directories without setting the Security-Enhanced Linux (SELinux) context.
(BZ#770575)

All users of Red Hat Network Tools are advised to upgrade to these updated packages, which correct these issues and add this enhancement.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?a54d32a8

https://access.redhat.com/errata/RHSA-2012:1369

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=820517

https://bugzilla.redhat.com/show_bug.cgi?id=825275

Plugin Details

Severity: Medium

ID: 78937

File Name: redhat-RHSA-2012-1369.nasl

Version: 1.12

Type: local

Agent: unix

Published: 11/8/2014

Updated: 6/3/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2012-2679

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:rhncfg-actions, p-cpe:/a:redhat:enterprise_linux:rhncfg-management, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rhncfg-client, p-cpe:/a:redhat:enterprise_linux:rhncfg

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/15/2012

Vulnerability Publication Date: 10/22/2012

Reference Information

CVE: CVE-2012-2679

BID: 55934

RHSA: 2012:1369