Bug 1252813 (CVE-2015-5190)

Summary: CVE-2015-5190 pcs: Command injection with root privileges.
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cfeist, jrusnack, rsteiger, security-response-team, tojeline
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A command injection flaw was found in the pcsd web UI. An attacker able to trick a victim that was logged in to the pcsd web UI into visiting a specially crafted URL could use this flaw to execute arbitrary code with root privileges on the server hosting the web UI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-01 14:04:28 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: 1253291, 1253292, 1253293, 1253294    
Bug Blocks: 1252818    

Description Adam Mariš 2015-08-12 09:43:16 UTC
It was reported that pcs package is vulnerable to command injection with root privileges.
A user supplied string is used to in running a system command. If the user
uses escape characters they can run a command as the root user on the system.

To do this the user must already have access to login to pcsd (Be a member of
the hacluster group).

Comment 3 Ján Rusnačko 2015-08-14 12:26:46 UTC
Acknowledgement:

This issue was discovered by Tomáš Jelínek of Red Hat.

Comment 4 errata-xmlrpc 2015-09-01 13:42:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2015:1700 https://rhn.redhat.com/errata/RHSA-2015-1700.html