CVE-2011-3187
EPSS 8.5%actionpack Improper Input Validation vulnerability
發布日:2017/10/24修改日:2026/4/28
描述
The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
受影響套件(2)
- Debian/railsfrom 0
- RubyGems/actionpack>= 2.3.0, < 2.3.13
參考連結(13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-3187
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2011-3187
- PATCHhttps://github.com/rails/rails
- WEBhttps://bugzilla.novell.com/show_bug.cgi?id=673010
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-3187.yml
- WEBhttps://web.archive.org/web/20111209181000/http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html
- WEBhttp://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/17/1
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/19/11
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/20/1
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/22/13
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/22/14
- WEBhttp://www.openwall.com/lists/oss-security/2011/08/22/5