Unscored severity · published Aug 29, 2011
CVE-2011-3187
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…
–
CVSS
6.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)6.7% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Rails · Rubyonrails
3.0.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-3187
CVE.org
https://www.cve.org/CVERecord?id=CVE-2011-3187
archives.neohapsis.com
http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html
Exploit
http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html
Patch
http://www.openwall.com/lists/oss-security/2011/08/17/1
Patch
http://www.openwall.com/lists/oss-security/2011/08/19/11
Patch
http://www.openwall.com/lists/oss-security/2011/08/20/1
Patch
http://www.openwall.com/lists/oss-security/2011/08/22/13
More from Rails
7.5
CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
7.5
CVE-2016-0752
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows…
7.5
CVE-2014-0130
Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x…
9.8
CVE-2026-33195
Rails Active Storage has possible Path Traversal in DiskService
9.8
CVE-2024-28103
Action Pack is missing security headers on non-HTML responses
