Vulnerabilities · 2011 · Rubyonrails
CVE-2011-3187
Rubyonrails Rails vulnerability
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 products
Rails. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.openwall.com/lists/oss-security/2011/08/17/1 · Patch
- www.openwall.com/lists/oss-security/2011/08/19/11 · Patch
- www.openwall.com/lists/oss-security/2011/08/20/1 · Patch
- www.openwall.com/lists/oss-security/2011/08/22/13 · Patch
- www.openwall.com/lists/oss-security/2011/08/22/5 · Patch
- webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html · Exploit
- www.openwall.com/lists/oss-security/2011/08/22/14 · Exploit
- bugzilla.novell.com/show_bug.cgi?id=673010 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2011-3187
- cve.org/CVERecord?id=CVE-2011-3187
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.