| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| 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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí