rails/web-console · Security
Web Console (Ruby gem) contains whitelisted_ips bypass
- GHSA ID
- GHSA-67j6-xv27-w6ww
- CVE ID
- CVE-2015-3224
- Severity
- medium
- Published
- Updated
Description
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.
CWEs
- CWE-284 · Improper Access Control
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3224 ↗
- https://github.com/rails/web-console/blob/master/CHANGELOG.markdown ↗
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160881.html ↗
- http://openwall.com/lists/oss-security/2015/06/16/18 ↗
- 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 ↗
- https://github.com/advisories/GHSA-67j6-xv27-w6ww ↗