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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2011-08-29T18:00:00Z

Updated: 2011-08-29T18:00:00Z

Reserved: 2011-08-19T00:00:00Z


Link: CVE-2011-3187

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2011-08-29T18:55:01.707

Modified: 2019-08-08T15:41:35.507


Link: CVE-2011-3187

JSON object: View

cve-icon Redhat Information

No data.

CWE