Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | pcs | pcs 0.9.164, pcs 0.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pcs | 0.9.164-1 | — |
| Debian 13 | pcs | 0.9.164-1 | — |
| Debian 12 | pcs | 0.9.164-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | pcs +1 | 0.9.162-5.el7_5.1 | RHSA-2018:1060 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | pcs +1 | 0.9.162-5.amzn2.1.1 | ALAS2-2018-1005 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | pcs +1 | 0.9.162-5.0.3.el7_5.1 | ELSA-2018-1060 |
Advisories 3
- RHSA-2018:1060 Red Hat Security Advisory: pcs security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- ELSA-2018-1060 Important: pcs security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 30, 2018
- ALAS2-2018-1005 Important: pcs security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 26, 2018