CVE-2011-3187

published 29 Aug 2011 · updated 6 Aug 2024

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…

6.0MediumEPSS 7%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. No fixed version is recorded.

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.

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2011-3187 severity on Zeptric[![CVE-2011-3187](https://zeptric.io/badge/cve/CVE-2011-3187.svg)](https://zeptric.io/cve/CVE-2011-3187)