CVE-2018-1079

pcs: Privilege escalation via authorized user malicious REST call

Published Apr 12, 2018 CVSS 3.0 · 8.7 High EPSS 1.1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-11731 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.
History

No history.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-552

    Files or Directories Accessible to External Parties

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 3:51 AM
Reserved
Dec 4, 2017, 12:00 AM
Status
Modified
Published
Apr 12, 2018, 5:29 PM
Modified
Jun 17, 2026, 1:50 AM
Severity
Important
Public date
Apr 9, 2018, 12:00 AM