GitHub Advisory Database
GHSA-67j6-xv27-w6ww
Web Console (Ruby gem) contains whitelisted_ips bypass
Details
request.rb in Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x, does not properly restrict the use of X-Forwarded-For headers in determining a client's IP address, which allows remote attackers to bypass the whitelisted_ips protection mechanism via a crafted request.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | web-console | All versions before 2.1.3 (fixed in 2.1.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3224
- https://github.com/rails/web-console
- https://github.com/rails/web-console/blob/master/CHANGELOG.markdown
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/web-console/CVE-2015-3224.yml
- https://groups.google.com/forum/#!topic/ruby-security-ann/lzmz9_ijUFw
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160881.html
- http://openwall.com/lists/oss-security/2015/06/16/18