GitHub Advisoryadvisory · RubyGems
GHSA-fqrr-rrwg-69pv Local API Login Credentials Disclosure in paratrooper-pingdom
LOW
Official page ↗
- Aliases
- CVE-2014-1233
- Ecosystem
- RubyGems
- Packages
- paratrooper-pingdom
- Severity
- Low
- Weaknesses
- CWE-200
- Reviewed
- 2020-06-16
Affected packages
• RubyGems paratrooper-pingdom: <= 1.0.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2014-1233 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… vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-1233 advisory
- https://github.com/advisories/GHSA-fqrr-rrwg-69pv advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/paratrooper-pingdom/CVE-2014-1233.yml web
- http://openwall.com/lists/oss-security/2014/01/08/1 web
- http://www.vapid.dhs.org/advisories/paratrooper-api-key-pingdom.html web