<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: Ruby on Rails security update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2013:0153</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-01-10T20:34:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-01-10T20:34:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-01-10T20:34:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-01-10T20:44:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated rubygem-actionpack, rubygem-activesupport,
ruby193-rubygem-actionpack, and ruby193-rubygem-activesupport packages that
fix multiple security issues are now available for Red Hat OpenShift
Enterprise 1.0.

The Red Hat Security Response Team has rated this update as having critical
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.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
Ruby on Rails is a model–view–controller (MVC) framework for web
application development. Action Pack implements the controller and the view
components. Active Support provides support and utility classes used by the
Ruby on Rails framework.

Multiple flaws were found in the way Ruby on Rails performed XML parameter
parsing in HTTP requests. A remote attacker could use these flaws to
execute arbitrary code with the privileges of a Ruby on Rails application,
perform SQL injection attacks, or bypass the authentication using a
specially-created HTTP request. (CVE-2013-0156)

Red Hat is aware that a public exploit for the CVE-2013-0156 issues is
available that allows remote code execution in applications using Ruby on
Rails.

All users of Red Hat OpenShift Enterprise are advised to upgrade to these
updated packages, which correct these issues. For Red Hat OpenShift
Enterprise administrators, the openshift-broker and openshift-console
services must be restarted for this update to take effect. Users of
OpenShift are advised to update their own applications that are running
Ruby on Rails.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2013 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Critical</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2013-0153.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0153.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#critical</URL>
       <Description>https://access.redhat.com/security/updates/classification/#critical</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/knowledge/solutions/290903</URL>
       <Description>https://access.redhat.com/knowledge/solutions/290903</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat OpenShift Enterprise">
      <Branch Type="Product Name" Name="RedHat OpenShift Enterprise Infrastructure">
        <FullProductName ProductID="6Server-RHOSE-INFRA">RedHat OpenShift Enterprise Infrastructure</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RedHat OpenShift Enterprise Node">
        <FullProductName ProductID="6Server-RHOSE-NODE">RedHat OpenShift Enterprise Node</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ruby193-rubygem-actionpack-3.2.8-2.el6">
      <FullProductName ProductID="ruby193-rubygem-actionpack-3.2.8-2.el6">ruby193-rubygem-actionpack-3.2.8-2.el6.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby193-rubygem-activesupport-3.2.8-3.el6">
      <FullProductName ProductID="ruby193-rubygem-activesupport-3.2.8-3.el6">ruby193-rubygem-activesupport-3.2.8-3.el6.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-actionpack-3.0.13-2.1.el6op">
      <FullProductName ProductID="rubygem-actionpack-3.0.13-2.1.el6op">rubygem-actionpack-3.0.13-2.1.el6op.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-activesupport-3.0.13-2.el6op">
      <FullProductName ProductID="rubygem-activesupport-3.0.13-2.el6op">rubygem-activesupport-3.0.13-2.el6op.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="ruby193-rubygem-actionpack-3.2.8-2.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-INFRA">
      <FullProductName ProductID="6Server-RHOSE-INFRA:ruby193-rubygem-actionpack-3.2.8-2.el6">ruby193-rubygem-actionpack-3.2.8-2.el6 as a component of RedHat OpenShift Enterprise Infrastructure</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby193-rubygem-activesupport-3.2.8-3.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-INFRA">
      <FullProductName ProductID="6Server-RHOSE-INFRA:ruby193-rubygem-activesupport-3.2.8-3.el6">ruby193-rubygem-activesupport-3.2.8-3.el6 as a component of RedHat OpenShift Enterprise Infrastructure</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-actionpack-3.0.13-2.1.el6op" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-INFRA">
      <FullProductName ProductID="6Server-RHOSE-INFRA:rubygem-actionpack-3.0.13-2.1.el6op">rubygem-actionpack-3.0.13-2.1.el6op as a component of RedHat OpenShift Enterprise Infrastructure</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-activesupport-3.0.13-2.el6op" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-INFRA">
      <FullProductName ProductID="6Server-RHOSE-INFRA:rubygem-activesupport-3.0.13-2.el6op">rubygem-activesupport-3.0.13-2.el6op as a component of RedHat OpenShift Enterprise Infrastructure</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby193-rubygem-actionpack-3.2.8-2.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-NODE">
      <FullProductName ProductID="6Server-RHOSE-NODE:ruby193-rubygem-actionpack-3.2.8-2.el6">ruby193-rubygem-actionpack-3.2.8-2.el6 as a component of RedHat OpenShift Enterprise Node</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby193-rubygem-activesupport-3.2.8-3.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-NODE">
      <FullProductName ProductID="6Server-RHOSE-NODE:ruby193-rubygem-activesupport-3.2.8-3.el6">ruby193-rubygem-activesupport-3.2.8-3.el6 as a component of RedHat OpenShift Enterprise Node</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-activesupport-3.0.13-2.el6op" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-NODE">
      <FullProductName ProductID="6Server-RHOSE-NODE:rubygem-activesupport-3.0.13-2.el6op">rubygem-activesupport-3.0.13-2.el6op as a component of RedHat OpenShift Enterprise Node</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Multiple flaws were found in the way Ruby on Rails performed XML parameter parsing in HTTP requests. A remote attacker could use these flaws to execute arbitrary code with the privileges of a Ruby on Rails application, perform SQL injection attacks, or bypass the authentication using a specially-created HTTP request. 
Red Hat is aware that a public exploit for the CVE-2013-0156 issues is available that allows remote code execution in applications using Ruby on Rails.</Note></Notes>
    <DiscoveryDate>2013-01-07T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-08T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2013-0156</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-RHOSE-INFRA:ruby193-rubygem-actionpack-3.2.8-2.el6</ProductID>
      <ProductID>6Server-RHOSE-INFRA:ruby193-rubygem-activesupport-3.2.8-3.el6</ProductID>
      <ProductID>6Server-RHOSE-INFRA:rubygem-actionpack-3.0.13-2.1.el6op</ProductID>
      <ProductID>6Server-RHOSE-INFRA:rubygem-activesupport-3.0.13-2.el6op</ProductID>
      <ProductID>6Server-RHOSE-NODE:ruby193-rubygem-actionpack-3.2.8-2.el6</ProductID>
      <ProductID>6Server-RHOSE-NODE:ruby193-rubygem-activesupport-3.2.8-3.el6</ProductID>
      <ProductID>6Server-RHOSE-NODE:rubygem-activesupport-3.0.13-2.el6op</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Critical</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>7.5</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2013-0153.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2013-0156.html</URL>
        <Description>CVE-2013-0156</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=892870</URL>
        <Description>bz#892870: CVE-2013-0156 rubygem-activesupport: Multiple vulnerabilities in parameter parsing in ActionPack</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
