{"id":"CVE-2018-1079","aliases":["DEBIAN-CVE-2018-1079","EUVD-2018-11731","GHSA-wxjj-jh24-cx5f","RHSA-2018:1060","UBUNTU-CVE-2018-1079"],"status":"published","title":"pcs before version 0.9.164 and 0.10 is vulnerable to a privilege escalation via authorized user...","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.","severity":{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01063,"percentile":0.64884,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22","CWE-552"],"published":"2018-04-12T17:00:00Z","modified":"2026-10-24T10:30:44Z","fixes":[{"ecosystem":"Debian:12","package":"pcs","fixed_in":["0.9.164-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pcs","fixed_in":["0.9.164-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pcs","fixed_in":["0.9.164-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pcs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.164-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pcs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.164-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pcs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.164-1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"pcs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.9.162-5.el7_5.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"pcs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.9.162-5.el7_5.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"pcs-snmp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.9.162-5.el7_5.1"}]}],"bundled":3}],"products":[{"vendor":"clusterlabs","product":"pacemaker_command_line_interface"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"redhat","product":"pcs"},{"vendor":"unspecified","product":"pcs"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:1060","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1079","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wxjj-jh24-cx5f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1079","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1534027","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1550243","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1557366","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_1060.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-1079","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1079","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-1086","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1086","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1086","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-1000119","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1000119","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000119","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-1079","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2018/04/09/2","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1079","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.","status":"published","published":"2018-04-12T17:00:00Z","modified":"2024-08-05T03:51:48.682Z","cvss":[{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:35:08.701206Z"}],"euvd":[{"id":"EUVD-2018-11731","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.","status":"published","published":"2018-04-12T17:00:00Z","modified":"2024-08-05T03:51:48Z","cvss":[{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T02:40:16.874515Z"}],"ghsa":[{"id":"GHSA-wxjj-jh24-cx5f","title":"pcs before version 0.9.164 and 0.10 is vulnerable to a privilege escalation via authorized user...","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.","status":"published","published":"2022-05-13T01:33:33Z","modified":"2023-02-01T05:08:20Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:50:44.535607Z"}],"nvd":[{"id":"CVE-2018-1079","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.","status":"published","published":"2018-04-12T17:29:00.233Z","modified":"2026-06-17T01:50:25.99Z","cvss":[{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-552","CWE-22"],"updated_at":"2026-11-02T14:04:25.506659Z"}],"osv":[{"id":"CVE-2018-1079","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.","status":"published","published":"2018-04-12T17:29:00.233Z","modified":"2026-10-24T10:30:44.359033569Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"DEBIAN-CVE-2018-1079","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.","status":"published","published":"2018-04-12T17:29:00.233Z","modified":"2026-10-23T18:03:18.270116238Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"RHSA-2018:1060","title":"Red Hat Security Advisory: pcs security update","status":"published","published":"2024-09-18T04:07:54Z","modified":"2026-07-01T10:03:35Z","cvss":[{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:04.822845Z"},{"id":"UBUNTU-CVE-2018-1079","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.","status":"withdrawn","published":"2018-04-12T17:29:00Z","modified":"2025-07-16T07:37:41.348078Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"3.0","score":8.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"}]}}
