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.
From: paratrooper-pingdom-1.0.0/lib/paratrooper-pingdom.rb
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.
{ "nvd_published_at": "2014-01-10T12:02:00Z", "cwe_ids": [ "CWE-200" ], "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:35:08Z" }