| Package | Affected versions | Patched versions |
|---|---|---|
| paratrooper-pingdom | ≤ 1.0.0 | |
| paratrooper-pingdom | = 1.0.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free