RHEL 6 : Subscription Asset Manager (RHSA-2013:0686)

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


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Red Hat Subscription Asset Manager 1.2.1, which fixes several security
issues, multiple bugs, and adds various enhancements, is now
available.

The Red Hat Security Response Team has rated this update as having
moderate security impact. Common Vulnerability Scoring System (CVSS)
base scores, which give detailed severity ratings, are available for
each vulnerability from the CVE links in the References section.

Red Hat Subscription Asset Manager acts as a proxy for handling
subscription information and software updates on client machines.

The latest packages for Subscription Asset Manager include a number of
security fixes :

When a Subscription Asset Manager instance is created, its
configuration script automatically creates an RPM of the internal
subscription service CA certificate. However, this RPM incorrectly
created the CA certificate with file permissions of 0666. This allowed
other users on a client system to modify the CA certificate used to
trust the remote subscription server. All administrators are advised
to update and deploy the subscription service certificate on all
systems which use Subscription Asset Manager as their subscription
service. This procedure is described in:
https://access.redhat.com/knowledge/docs/en-US/
Red_Hat_Subscription_Asset_Manager/1.2/html/Installation_Guide/
sect-Installation_Guide-Administration-Upgrading_Subscription_Asset_Ma
nager.html (CVE-2012-6116)

Manifest signature checking was not implemented for early versions of
Subscription Asset Manager. This meant that a malicious user could
edit a manifest file, insert arbitrary data, and successfully upload
the edited manifest file into the Subscription Asset Manager server.
(CVE-2012-6119)

Ruby's documentation generator had a flaw in the way it generated HTML
documentation. When a Ruby application exposed its documentation on a
network (such as a web page), an attacker could use a specially-
crafted URL to open an arbitrary web script or to execute HTML code
within the application's user session. (CVE-2013-0256)

A timing attack flaw was found in the way rubygem-rack and
ruby193-rubygem-rack processed HMAC digests in cookies. This flaw
could aid an attacker using forged digital signatures to bypass
authentication checks. (CVE-2013-0263)

A flaw in rubygem-json allowed remote attacks by creating different
types of malicious objects. For example, it could initiate a denial of
service (DoS) attack through resource consumption by using a JSON
document to create arbitrary Ruby symbols, which were never garbage
collected. It could also be exploited to create internal objects which
could allow a SQL injection attack. (CVE-2013-0269)

A flaw in ActiveRecord in Ruby on Rails allowed remote attackers to
circumvent attribute protections and to insert their own crafted
requests to change protected attribute values. (CVE-2013-0276)

HTML markup was not properly escaped when filling in the username
field in the Notifications form of the Subscription Asset Manager UI.
This meant that HTML code used in the value was then applied in the UI
page when the entry was viewed. This could have allowed malicious HTML
code to be entered. The field value is now validated and any HTML tags
are escaped. (CVE-2013-1823)

These updated packages also include bug fixes and enhancements :

* Previously, no SELinux policy for the subscription service was
included with the Subscription Asset Manager packages. The
candlepin-selinux package is now included with SELinux policies for
the subscription server. (BZ#906901)

* When attempting to use the subscription service's CA certificate to
validate a manifest during import, the comparison failed. The upstream
subscription service which generated the manifest is a different
service than the local subscription service
thus, they have different
CA certificates. This caused importing a manifest to fail with the
error 'archive failed signature'. This has been fixed so that the
proper certificate is used for verification. (BZ#918778)

All users of Subscription Asset Manager are recommended to update to
the latest packages.

See also :

https://www.redhat.com/security/data/cve/CVE-2012-6116.html
https://www.redhat.com/security/data/cve/CVE-2012-6119.html
https://www.redhat.com/security/data/cve/CVE-2013-0256.html
https://www.redhat.com/security/data/cve/CVE-2013-0263.html
https://www.redhat.com/security/data/cve/CVE-2013-0269.html
https://www.redhat.com/security/data/cve/CVE-2013-0276.html
https://www.redhat.com/security/data/cve/CVE-2013-1823.html
http://rhn.redhat.com/errata/RHSA-2013-0686.html

Solution :

Update the affected packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Red Hat Local Security Checks

Nessus Plugin ID: 65904 ()

Bugtraq ID:

CVE ID: CVE-2012-6116
CVE-2012-6119
CVE-2013-0256
CVE-2013-0263
CVE-2013-0269
CVE-2013-0276
CVE-2013-1823