{"id":"UBUNTU-CVE-2018-1079","details":"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.","modified":"2025-07-16T08:22:04.124581Z","published":"2018-04-12T17:29:00Z","withdrawn":"2025-07-18T16:44:22Z","upstream":["CVE-2018-1079"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1079"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/04/09/2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1079"}],"affected":[{"package":{"name":"pcs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pcs@0.9.164-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.164-1"}]}],"versions":["0.9.159-3ubuntu2","0.9.161-1","0.9.162-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.164-1","binary_name":"pcs"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1079.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}