Files or Directories Accessible to External Parties Affecting pcs package, versions <0:0.9.162-5.el7_5.1


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-PCS-2101152
  • published26 Jul 2021
  • disclosed9 Apr 2018

Introduced: 9 Apr 2018

CVE-2018-1079  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade Centos:7 pcs to version 0:0.9.162-5.el7_5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcs package and not the pcs package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

pcs before version 0.9.164 and 0.10 is vulnerable to a privilege escalation via authorized user malicious REST call. 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.