CentOS 5 : sos (CESA-2013:1121)

Medium Nessus Plugin ID 69144


The remote CentOS host is missing a security update.


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.


Update the affected sos package.

See Also


Plugin Details

Severity: Medium

ID: 69144

File Name: centos_RHSA-2013-1121.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2013/07/31

Updated: 2019/10/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:centos:centos:sos, cpe:/o:centos:centos:5

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2013/07/30

Vulnerability Publication Date: 2012/06/29

Reference Information

CVE: CVE-2012-2664

BID: 54116

RHSA: 2013:1121