Skip to main content
← All vulnerabilities
CVE-2011-3187GHSA-3VFW-7RCP-3XGM

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 heade

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.13
1 on Exploit-DB

Summary

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.

Timeline

  1. Public exploit on Exploit-DB

    EDB-35352

  2. CVE published
  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • actionpackRubyGems

    From 2.3.0 · fixed in 2.3.13

References 10

archives.neohapsis.com

openwall.com

webservsec.blogspot.com

bugzilla.novell.com

Exploit-DB