CVE-2011-3187

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.

Risk Information

Base Score
8.6
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:P/RL:O/RC:C
EPSS Score
Exploitation Probability
9.049

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2011-2931,CVE-2011-3186,CVE-2011-3187 are fixed in Ruby-actionpack 2.3.13Windows
Vulnerabilities CVE-2011-2931,CVE-2011-3186,CVE-2011-3187 are fixed in Ruby-actionpack for Linux 2.3.13Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234