{"id":"CVE-2018-1079","state":"PUBLISHED","title":"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 sanitiz","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.","publishedAt":"2018-04-12T17:00:00.000Z","updatedAt":"2024-08-05T03:51:48.682Z","severity":{"score":8.7,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["unspecified pcs"],"affected":[{"vendor":"unspecified","product":"pcs","versions":[{"version":"pcs 0.9.164","status":"affected"},{"version":"pcs 0.10","status":"affected"}]}],"references":["https://access.redhat.com/errata/RHSA-2018:1060","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079"],"weaknesses":["CWE-552"],"ingestedAt":"2026-10-29T19:44:36.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/1xxx/CVE-2018-1079.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-1079","state":"PUBLISHED","datePublished":"2018-04-12T17:00:00.000Z","dateUpdated":"2024-08-05T03:51:48.682Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2017-12-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"unspecified","product":"pcs","versions":[{"version":"pcs 0.9.164","status":"affected"},{"version":"pcs 0.10","status":"affected"}]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:1060","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-552","description":"CWE-552","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-04-12T16:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2018-04-12T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-1079","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"pcs","version":{"version_data":[{"version_value":"pcs 0.9.164"},{"version_value":"pcs 0.10"}]}}]},"vendor_name":""}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"8.7/CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-552"}]}]},"references":{"reference_data":[{"name":"https://access.redhat.com/errata/RHSA-2018:1060","refsource":"MISC","url":"https://access.redhat.com/errata/RHSA-2018:1060"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://access.redhat.com/errata/RHSA-2018:1060","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1079","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T03:51:48.682Z"}}]}}}