GitHub Advisoryadvisory · RubyGems

GHSA-fqrr-rrwg-69pv Local API Login Credentials Disclosure in paratrooper-pingdom

LOW Published 2017-10-24 Modified 2023-07-05 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