Files or Directories Accessible to External Parties Affecting pcs-snmp package, versions <0:0.9.162-5.el7_5.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PCSSNMP-4789218
  • published26 Jul 2021
  • disclosed9 Apr 2018

Introduced: 9 Apr 2018

CVE-2018-1079  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade RHEL:7 pcs-snmp to version 0:0.9.162-5.el7_5.1 or higher.
This issue was patched in RHSA-2018:1060.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcs-snmp package and not the pcs-snmp package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.