GHSA-fqrr-rrwg-69pv

    Dashboard / Vulnerabilities / GHSA-fqrr-rrwg-69pv

    GHSA-fqrr-rrwg-69pv

    Published: 24 Oct 2017Last Modified: 8 Dec 2024
    Aliases:

    Summary: Local API Login Credentials Disclosure in paratrooper-pingdom

    Details: The paratrooper-pingdom gem 1.0.0 for Ruby allows local users to obtain the App-Key, username, and password values by listing the curl process. ### Vulnerable Code: From: `paratrooper-pingdom-1.0.0/lib/paratrooper-pingdom.rb` ```ruby def setup(options = {}) %x[curl https://api.pingdom.com/api/2.0/checks -X PUT -d "paused=true" -H "App-Key: #{app_key}" -u "#{username}:#{password}"] end def teardown(options = {}) %x[curl https://api.pingdom.com/api/2.0/checks -X PUT -d "paused=false" -H "App-Key: #{app_key}" -u "#{username}:#{password}"] end ``` A malicious user could monitor the process tree to steal the API key, username and password for the API login.

    Affected packages

    Package

    Name: paratrooper-pingdom

    Purl: pkg:gem/paratrooper-pingdom

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High