ID CVE-2018-1086
Summary pcs before versions 0.9.164 and 0.10 is vulnerable to a debug parameter removal bypass. 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.
References
Vulnerable Configurations
  • cpe:2.3:a:clusterlabs:pacemaker_command_line_interface:0.9.164
    cpe:2.3:a:clusterlabs:pacemaker_command_line_interface:0.9.164
  • cpe:2.3:a:clusterlabs:pacemaker_command_line_interface:0.10
    cpe:2.3:a:clusterlabs:pacemaker_command_line_interface:0.10
  • Debian Linux 9.0
    cpe:2.3:o:debian:debian_linux:9.0
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.5
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6
CVSS
Base: 5.0
Impact:
Exploitability:
CWE CWE-200
CAPEC
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-CE5D7106D8.NASL
    description Security fix for CVE-2018-1086 and CVE-2018-1079 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-05
    plugin id 109152
    published 2018-04-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109152
    title Fedora 26 : pcs (2018-ce5d7106d8)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-57BBE74C6C.NASL
    description Security fix for CVE-2018-1086 and CVE-2018-1079 Rebased to latest upstream sources Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-05
    plugin id 109150
    published 2018-04-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109150
    title Fedora 27 : pcs (2018-57bbe74c6c)
  • NASL family Amazon Linux Local Security Checks
    NASL id AL2_ALAS-2018-1005.NASL
    description 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. (CVE-2018-1086) 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. (CVE-2018-1000119) 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)
    last seen 2019-02-21
    modified 2018-08-31
    plugin id 109365
    published 2018-04-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109365
    title Amazon Linux 2 : pcs (ALAS-2018-1005)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2018-1927.NASL
    description An update for pcs is now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities. Security Fix(es) : * pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. This issue was discovered by Cedric Buissart (Red Hat). Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 6.10 Release Notes and Red Hat Enterprise Linux 6.10 Technical Notes linked from the References section.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 110650
    published 2018-06-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=110650
    title CentOS 6 : pcs (CESA-2018:1927)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-4169.NASL
    description Cedric Buissart from Red Hat discovered an information disclosure bug in pcs, a pacemaker command line interface and GUI. The REST interface normally doesn't allow passing --debug parameter to prevent information leak, but the check wasn't sufficient.
    last seen 2019-02-21
    modified 2018-11-13
    plugin id 109003
    published 2018-04-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109003
    title Debian DSA-4169-1 : pcs - security update
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20180619_PCS_ON_SL6_X.NASL
    description Security Fix(es) : - pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086)
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 110889
    published 2018-07-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=110889
    title Scientific Linux Security Update : pcs on SL6.x i386/x86_64
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2018-1060.NASL
    description An update for pcs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities. Security Fix(es) : * pcs: Privilege escalation via authorized user malicious REST call (CVE-2018-1079) * pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) * rack-protection: Timing attack in authenticity_token.rb (CVE-2018-1000119) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. The CVE-2018-1079 issue was discovered by Ondrej Mular (Red Hat) and the CVE-2018-1086 issue was discovered by Cedric Buissart (Red Hat).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 110237
    published 2018-05-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=110237
    title CentOS 7 : pcs (CESA-2018:1060)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2018-1927.NASL
    description An update for pcs is now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities. Security Fix(es) : * pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. This issue was discovered by Cedric Buissart (Red Hat). Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 6.10 Release Notes and Red Hat Enterprise Linux 6.10 Technical Notes linked from the References section.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 110605
    published 2018-06-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=110605
    title RHEL 6 : pcs (RHSA-2018:1927)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-BBFB0F5BC9.NASL
    description Security fix for CVE-2018-1086 and CVE-2018-1079 Rebased to latest upstream sources Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-01-03
    plugin id 120745
    published 2019-01-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=120745
    title Fedora 28 : pcs (2018-bbfb0f5bc9)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2018-1060.NASL
    description An update for pcs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities. Security Fix(es) : * pcs: Privilege escalation via authorized user malicious REST call (CVE-2018-1079) * pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) * rack-protection: Timing attack in authenticity_token.rb (CVE-2018-1000119) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. The CVE-2018-1079 issue was discovered by Ondrej Mular (Red Hat) and the CVE-2018-1086 issue was discovered by Cedric Buissart (Red Hat).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 108996
    published 2018-04-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108996
    title RHEL 7 : pcs (RHSA-2018:1060)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2018-1060.NASL
    description From Red Hat Security Advisory 2018:1060 : An update for pcs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities. Security Fix(es) : * pcs: Privilege escalation via authorized user malicious REST call (CVE-2018-1079) * pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) * rack-protection: Timing attack in authenticity_token.rb (CVE-2018-1000119) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. The CVE-2018-1079 issue was discovered by Ondrej Mular (Red Hat) and the CVE-2018-1086 issue was discovered by Cedric Buissart (Red Hat).
    last seen 2019-02-21
    modified 2018-09-05
    plugin id 109438
    published 2018-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109438
    title Oracle Linux 7 : pcs (ELSA-2018-1060)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20180410_PCS_ON_SL7_X.NASL
    description Security Fix(es) : - pcs: Privilege escalation via authorized user malicious REST call (CVE-2018-1079) - pcs: Debug parameter removal bypass, allowing information disclosure (CVE-2018-1086) - rack-protection: Timing attack in authenticity_token.rb (CVE-2018-1000119)
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 109456
    published 2018-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109456
    title Scientific Linux Security Update : pcs on SL7.x x86_64
redhat via4
advisories
  • bugzilla
    id 1557366
    title CVE-2018-1086 pcs: Debug parameter removal bypass, allowing information disclosure
    oval
    AND
    • comment pcs is earlier than 0:0.9.155-3.el6
      oval oval:com.redhat.rhsa:tst:20181927005
    • comment pcs is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20150980006
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
    rhsa
    id RHSA-2018:1927
    released 2018-06-19
    severity Moderate
    title RHSA-2018:1927: pcs security update (Moderate)
  • rhsa
    id RHSA-2018:1060
rpms
  • pcs-0:0.9.162-5.el7_5.1
  • pcs-snmp-0:0.9.162-5.el7_5.1
  • pcs-0:0.9.155-3.el6
refmap via4
debian DSA-4169
misc https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1086
Last major update 16-04-2018 - 05:58
Published 12-04-2018 - 12:29
Last modified 20-03-2019 - 11:01
Back to Top