Bug 888518 (CVE-2012-5646)

Summary: CVE-2012-5646 openshift-origin-node-util: restorer.php preg_match shell code injection
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bleanhar, lmeyer, rcvalle, rmillner, security-response-team, tkramer
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130108,reported=20121127,source=redhat,cvss2=7.5/AV:N/AC:L/Au:N/C:P/I:P/A:P,openshift-1/node=affected,openshift-enterprise-1/openshift-origin-node-util=affected,cwe=CWE-78
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-22 16:50:44 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 880699, 888549    
Bug Blocks: 888535    
Description Flags
CVE-2012-5646-restorer.php.patch none

Description Kurt Seifried 2012-12-18 14:59:47 EST
Michael Scherer (mscherer@redhat.com) reports:

the file https://github.com/openshift/origin-server/blob/master/node-util/www/html/restorer.php 
used to restore application after being idle fails to safely handle user 
supplied data that is later used on the command line.
Comment 1 Kurt Seifried 2012-12-18 15:56:30 EST
Created attachment 665754 [details]
Comment 3 Murray McAllister 2013-01-07 01:00:13 EST

This issue was discovered by Michael Scherer of the Red Hat Regional IT team.
Comment 4 errata-xmlrpc 2013-01-08 15:45:56 EST
This issue has been addressed in following products:

  RHEL 6 Version of OpenShift Enterprise

Via RHSA-2013:0148 https://rhn.redhat.com/errata/RHSA-2013-0148.html
Comment 5 Kurt Seifried 2013-01-22 16:50:44 EST
This issue has been addressed in OpenShift Online.