Amazon Linux 2 : pcs (ALAS-2018-1005)

Medium Nessus Plugin ID 109365


The remote Amazon Linux 2 host is missing a security update.


Debug parameter removal bypass, allowing information disclosure

It was found that the REST interface of the pcsd service did not properly remove the pcs debug argument from the /run_pcs query, possibly disclosing sensitive information. A remote attacker with a valid token could use this flaw to elevate their privilege.

Timing attack in authenticity_token.rb

Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.

Privilege escalation via authorized user malicious REST call

It was found that 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. (CVE-2018-1079)


Run 'yum update pcs' to update your system.

See Also

Plugin Details

Severity: Medium

ID: 109365

File Name: al2_ALAS-2018-1005.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2018/04/27

Updated: 2019/03/21

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS v3.0

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:pcs, p-cpe:/a:amazon:linux:pcs-debuginfo, p-cpe:/a:amazon:linux:pcs-snmp, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 2018/04/26

Vulnerability Publication Date: 2018/03/07

Reference Information

CVE: CVE-2018-1000119, CVE-2018-1079, CVE-2018-1086

ALAS: 2018-1005