logo

CVE-2014-1233 paratrooper-pingdom

Package

Manager: gem
Name: paratrooper-pingdom
Vulnerable Version: >=0 <=1.0.0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:U/RC:C

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00068 pctl0.21483

Details

Local API Login Credentials Disclosure in paratrooper-pingdom 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.

Metadata

Created: 2017-10-24T18:33:36Z
Modified: 2023-07-05T18:46:48Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-fqrr-rrwg-69pv/GHSA-fqrr-rrwg-69pv.json
CWE IDs: ["CWE-200"]
Alternative ID: GHSA-fqrr-rrwg-69pv
Finding: F038
Auto approve: 1