<?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: openshift-origin-node-util 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:0148</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-01-08T20:43:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-01-08T20:43:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-01-08T20:43:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-01-08T20:44:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated openshift-origin-node-util package that fixes two security
issues is now available for Red Hat OpenShift Enterprise 1.0.

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.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The openshift-origin-node-util package provides a set of utility scripts
for a node. Red Hat OpenShift Enterprise is a cloud computing
Platform-as-a-Service (PaaS) solution designed for on-premise or private
cloud deployments.

A flaw was found in the way the administrative web interface for restoring
applications (restorer.php) processed options passed to it. A remote
attacker could send a specially-crafted request to restorer.php that would
result in the query string being parsed as command line options and
arguments. This could lead to arbitrary code execution with the privileges
of an arbitrary application. (CVE-2012-5646)

An open redirect flaw was found in restorer.php. A remote attacker able to
trick a victim into opening the restorer.php page using a specially-crafted
link could redirect the victim to an arbitrary page. (CVE-2012-5647)

These issues were discovered by Michael Scherer of the Red Hat Regional IT
team.

All users of Red Hat OpenShift Enterprise are advised to upgrade to this
updated package, which corrects these issues.    </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/">Moderate</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2013-0148.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0148.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#moderate</URL>
       <Description>https://access.redhat.com/security/updates/classification/#moderate</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 Node">
        <FullProductName ProductID="6Server-RHOSE-NODE">RedHat OpenShift Enterprise Node</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="openshift-origin-node-util-1.0.5-3.el6op">
      <FullProductName ProductID="openshift-origin-node-util-1.0.5-3.el6op">openshift-origin-node-util-1.0.5-3.el6op.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="openshift-origin-node-util-1.0.5-3.el6op" RelationType="Default Component Of" RelatesToProductReference="6Server-RHOSE-NODE">
      <FullProductName ProductID="6Server-RHOSE-NODE:openshift-origin-node-util-1.0.5-3.el6op">openshift-origin-node-util-1.0.5-3.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">A flaw was found in the way the administrative web interface for restoring applications (restorer.php) processed options passed to it. A remote attacker could send a specially-crafted request to restorer.php that would result in the query string being parsed as command line options and arguments. This could lead to arbitrary code execution with the privileges of an arbitrary application. </Note></Notes>
    <DiscoveryDate>2012-11-27T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-08T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5646</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-RHOSE-NODE:openshift-origin-node-util-1.0.5-3.el6op</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</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-0148.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5646.html</URL>
        <Description>CVE-2012-5646</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=888518</URL>
        <Description>bz#888518: CVE-2012-5646 OpenShift Origin: restorer.php preg_match shell code injection</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by Michael Scherer of the Red Hat Regional IT team.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>

  <Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An open redirect flaw was found in restorer.php. A remote attacker able to trick a victim into opening the restorer.php page using a specially-crafted link could redirect the victim to an arbitrary page. </Note></Notes>
    <DiscoveryDate>2012-11-27T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-08T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5647</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-RHOSE-NODE:openshift-origin-node-util-1.0.5-3.el6op</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.0</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:N/I:P/A:N</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-0148.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5647.html</URL>
        <Description>CVE-2012-5647</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=888523</URL>
        <Description>bz#888523: CVE-2012-5647 OpenShift Origin: restorer.php arbitrary URL redirection</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by Michael Scherer of the Red Hat Regional IT team.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
