Local API Login Credentials Disclosure in paratrooper-pingdom (GHSA-fqrr-rrwg-69pv)
Published: 2017-10-24T18:33:36Z
Aliases: CVE-2014-1233
Severity: LOW · CWE: CWE-200

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: ecosystem: RubyGems
name: paratrooper-pingdom
ranges: type: ECOSYSTEM
events: introduced: 0
last_affected: 1.0.0