Bug 888523 (CVE-2012-5647)

Summary: CVE-2012-5647 openshift-origin-node-util: restorer.php arbitrary URL redirection
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bleanhar, libra-onpremise-devel, lmeyer, rmillner, security-response-team, tkramer
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-22 21:51:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 880699, 888549    
Bug Blocks: 888535    
Attachments:
Description Flags
CVE-2012-5647-restorer.php.patch none

Description Kurt Seifried 2012-12-18 20:11:04 UTC
Michael Scherer (mscherer) 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 in the HTTP headers for the Location:
value which can then result in request redirection to an arbitrary page.

Comment 1 Kurt Seifried 2012-12-18 20:56:48 UTC
Created attachment 665755 [details]
CVE-2012-5647-restorer.php.patch

Comment 3 Murray McAllister 2013-01-07 06:04:12 UTC
Acknowledgements:

This issue was discovered by Michael Scherer of the Red Hat Regional IT team.

Comment 4 errata-xmlrpc 2013-01-08 20:46:00 UTC
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 21:51:47 UTC
This issue has been addressed in OpenShift Online.