CVE-2011-3187

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*

History

21 Nov 2024, 01:29

Type Values Removed Values Added
References () http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html - () http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html -
References () http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html - Exploit () http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html - Exploit
References () http://www.openwall.com/lists/oss-security/2011/08/17/1 - Patch () http://www.openwall.com/lists/oss-security/2011/08/17/1 - Patch
References () http://www.openwall.com/lists/oss-security/2011/08/19/11 - Patch () http://www.openwall.com/lists/oss-security/2011/08/19/11 - Patch
References () http://www.openwall.com/lists/oss-security/2011/08/20/1 - Patch () http://www.openwall.com/lists/oss-security/2011/08/20/1 - Patch
References () http://www.openwall.com/lists/oss-security/2011/08/22/13 - Patch () http://www.openwall.com/lists/oss-security/2011/08/22/13 - Patch
References () http://www.openwall.com/lists/oss-security/2011/08/22/14 - Exploit () http://www.openwall.com/lists/oss-security/2011/08/22/14 - Exploit
References () http://www.openwall.com/lists/oss-security/2011/08/22/5 - Patch () http://www.openwall.com/lists/oss-security/2011/08/22/5 - Patch
References () https://bugzilla.novell.com/show_bug.cgi?id=673010 - Exploit () https://bugzilla.novell.com/show_bug.cgi?id=673010 - Exploit

Information

Published : 2011-08-29 18:55

Updated : 2024-11-21 01:29


NVD link : CVE-2011-3187

Mitre link : CVE-2011-3187

CVE.ORG link : CVE-2011-3187


JSON object : View

Products Affected

rubyonrails

  • rails
CWE
CWE-20

Improper Input Validation