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.
Remediation
References
Related Vulnerabilities
Oracle Application Server Other Vulnerability (CVE-2006-5360)
Oracle Database Server CVE-2009-1968 Vulnerability (CVE-2009-1968)
Dotclear Permissions, Privileges, and Access Controls Vulnerability (CVE-2016-7903)
Jenkins Improper Check for Unusual or Exceptional Conditions Vulnerability (CVE-2024-43044)