{"id":"CVE-2011-3187","state":"PUBLISHED","title":"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 Cla","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.","publishedAt":"2011-08-29T18:00:00.000Z","updatedAt":"2024-08-06T23:22:27.754Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html","http://www.openwall.com/lists/oss-security/2011/08/17/1","http://www.openwall.com/lists/oss-security/2011/08/22/13","http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html","http://www.openwall.com/lists/oss-security/2011/08/19/11","http://www.openwall.com/lists/oss-security/2011/08/20/1","http://www.openwall.com/lists/oss-security/2011/08/22/14","https://bugzilla.novell.com/show_bug.cgi?id=673010","http://www.openwall.com/lists/oss-security/2011/08/22/5"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:02.549Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2011/3xxx/CVE-2011-3187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2011-3187","state":"PUBLISHED","datePublished":"2011-08-29T18:00:00.000Z","dateUpdated":"2024-08-06T23:22:27.754Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2011-08-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html","name":"20110216 Ruby on Rails Vulnerability","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/17/1","name":"[oss-security] 20110817 CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/13","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/19/11","name":"[oss-security] 20110819 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/20/1","name":"[oss-security] 20110820 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/14","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=673010","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/5","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2011-08-29T18:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html","name":"20110216 Ruby on Rails Vulnerability","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/17/1","name":"[oss-security] 20110817 CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/13","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/19/11","name":"[oss-security] 20110819 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/20/1","name":"[oss-security] 20110820 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/14","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=673010","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/5","name":"[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T23:22:27.754Z"}}]}}}