CVEvulnerability
CVE-2011-3187
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2011-08-29
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-20
Description
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.
Affected configurations
• rubyonrails rails 3.0.5
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html archives.neohapsis.com
- http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html Exploit
- http://www.openwall.com/lists/oss-security/2011/08/17/1 Patch
- http://www.openwall.com/lists/oss-security/2011/08/19/11 Patch
- http://www.openwall.com/lists/oss-security/2011/08/20/1 Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/13 Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/14 Exploit
- http://www.openwall.com/lists/oss-security/2011/08/22/5 Patch
- https://bugzilla.novell.com/show_bug.cgi?id=673010 Exploit
- http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html archives.neohapsis.com
- http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html Exploit
- http://www.openwall.com/lists/oss-security/2011/08/17/1 Patch
- http://www.openwall.com/lists/oss-security/2011/08/19/11 Patch
- http://www.openwall.com/lists/oss-security/2011/08/20/1 Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/13 Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/14 Exploit
- http://www.openwall.com/lists/oss-security/2011/08/22/5 Patch
- https://bugzilla.novell.com/show_bug.cgi?id=673010 Exploit