CVE-2011-3187: rubyonrails rails Improper Input Validation
Vulnerability summary
CVE-2011-3187 is a medium (CVSS 4.3) Improper Input Validation vulnerability in rubyonrails rails. EPSS estimates a 6.67% chance of exploitation in the next 30 days, higher than 93.8% of scored vulnerabilities. 4 public exploits are recorded.
Timeline
- 29-08-2011PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
6.67%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.67% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (webservsec.blogspot.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (bugzilla.novell.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- railsAll versions (No fix recorded)
RubyGems1 product
- actionpack≥ 2.3.0, < 2.3.13
Rubyonrails1 product
- rails3.0.5
3 vendors · 3 products
References
14 linksShow all 14 references
- github.com/rails/railsPACKAGE