RHEL 5 : sos (RHSA-2013:1121)

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing a security update.

Description :

An updated sos package that fixes one security issue is now available
for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base
score, which gives a detailed severity rating, is available from the
CVE link in the References section.

The sos package contains a set of tools that gather information from
system hardware, logs and configuration files. The information can
then be used for diagnostic purposes and debugging.

The sosreport utility collected the Kickstart configuration file
('/root/anaconda-ks.cfg'), but did not remove the root user's password
from it before adding the file to the resulting archive of debugging
information. An attacker able to access the archive could possibly use
this flaw to obtain the root user's password. '/root/anaconda-ks.cfg'
usually only contains a hash of the password, not the plain text
password. (CVE-2012-2664)

Note: This issue affected all installations, not only systems
installed via Kickstart. A '/root/anaconda-ks.cfg' file is created by
all installation types.

The utility also collects yum repository information from
'/etc/yum.repos.d' which in uncommon configurations may contain
passwords. Any http_proxy password specified in these files will now
be automatically removed. Passwords embedded within URLs in these
files should be manually removed or the files excluded from the
archive.

All users of sos are advised to upgrade to this updated package, which
contains a backported patch to correct this issue.

See also :

https://www.redhat.com/security/data/cve/CVE-2012-2664.html
http://rhn.redhat.com/errata/RHSA-2013-1121.html

Solution :

Update the affected sos package.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N)
CVSS Temporal Score : 3.2
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Red Hat Local Security Checks

Nessus Plugin ID: 69162 ()

Bugtraq ID: 54116

CVE ID: CVE-2012-2664