ghsa-fqrr-rrwg-69pv
Vulnerability from github
Published
2017-10-24 18:33
Modified
2023-07-05 18:46
Summary
Local API Login Credentials Disclosure in paratrooper-pingdom
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "paratrooper-pingdom"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.0.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2014-1233"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-200"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:35:08Z",
    "nvd_published_at": "2014-01-10T12:02:00Z",
    "severity": "LOW"
  },
  "details": "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.\n\n### Vulnerable Code:\n\nFrom: `paratrooper-pingdom-1.0.0/lib/paratrooper-pingdom.rb`\n\n```ruby\ndef setup(options = {})\n  %x[curl https://api.pingdom.com/api/2.0/checks -X PUT -d \"paused=true\" -H \"App-Key: #{app_key}\" -u \"#{username}:#{password}\"]        \nend\n\ndef teardown(options = {})\n  %x[curl https://api.pingdom.com/api/2.0/checks -X PUT -d \"paused=false\" -H \"App-Key: #{app_key}\" -u \"#{username}:#{password}\"]        \nend\n```\n\nA malicious user could monitor the process tree to steal the API key, username and password for the API login.\n",
  "id": "GHSA-fqrr-rrwg-69pv",
  "modified": "2023-07-05T18:46:48Z",
  "published": "2017-10-24T18:33:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1233"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-fqrr-rrwg-69pv"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/paratrooper-pingdom/CVE-2014-1233.yml"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2014/01/08/1"
    },
    {
      "type": "WEB",
      "url": "http://www.vapid.dhs.org/advisories/paratrooper-api-key-pingdom.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Local API Login Credentials Disclosure in paratrooper-pingdom"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…