CVE-2018-1079

NameCVE-2018-1079
Descriptionpcs 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs895314

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcs (PTS)bullseye (security), bullseye0.10.8-1+deb11u1fixed
bookworm0.11.5-1+deb12u1fixed
trixie, sid0.11.7-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcssourcestretch(not affected)
pcssource(unstable)0.9.164-1895314

Notes

[stretch] - pcs <not-affected> (Vulnerable code introduced in 0.9.157)
https://www.openwall.com/lists/oss-security/2018/04/09/2

Search for package or bug name: Reporting problems