Bug 1550243 (CVE-2018-1079)

Summary: CVE-2018-1079 pcs: Privilege escalation via authorized user malicious REST call
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anprice, apevec, cbuissar, cfeist, chrisw, cluster-maint, idevat, jaruga, jjoyce, jpokorny, jschluet, kbasil, lhh, lpeer, markmc, mburns, omular, rbryant, sclewis, security-response-team, sisharma, slinaber, smohan, ssaha, tdecacqu, tojeline, vbellur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: pcs 0.9.164, pcs 0.10 Doc Type: If docs needed, set a value
Doc Text:
It was found that the REST interface of the pcsd service did not properly sanitize the file name from the /remote/put_file query. If the /etc/booth directory exists, an authenticated attacker with write permissions could create or overwrite arbitrary files with arbitrary data outside of the /etc/booth directory, in the context of the pcsd process.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-11 08:38:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1557252, 1557253, 1565087, 1565088    
Bug Blocks: 1550244    

Description Pedro Sampaio 2018-02-28 20:25:30 UTC
A security issue was found in pcs deamon that permits an authorized user (with write permission in pcsd) to escalate privileges and write to any file in the system using a malicious REST call.

Comment 1 Pedro Sampaio 2018-02-28 20:29:15 UTC

Name: Ondrej Mular (Red Hat)

Comment 10 Cedric Buissart 2018-04-09 11:17:10 UTC
Created pcs tracking bugs for this issue:

Affects: fedora-all [bug 1565088]

Comment 12 errata-xmlrpc 2018-04-10 09:11:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:1060 https://access.redhat.com/errata/RHSA-2018:1060