CVE-2011-3187

medium
Published 2017-10-24 · Modified 2024-11-29
CVSS v3
CVSS v2
4.3
VIR risk
5.3

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.

Predictions

Exploit likelihood
55%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2011-3187

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/22/5

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/22/13

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/20/1

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/19/11

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/17/1

Exploits

Exploit-DB

OS impact

OSVersionStatusFixed in
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyaffected
debian debiansidaffected
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsactionpack!< 2.3.0||<>= 2.3.13>= 2.3.13
ruby RubyGemsactionpack>=2.3.0,<2.3.132.3.13

Application impact

VendorProductVersionsFixed
rubyonrailsrails3.0.5

References

CWEs

CWE-20

Verify integrity in audit chain (admin only). AS-IS.