peter bassill · operator
$ cve CVE-2011-3187 JSON

CVE-2011-3187 EXPLOIT

4.3
MEDIUM · CVSS 2.0 · EPSS 6.7% (pctl 94)

Patch early

A public exploit exists.

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.

Scoring

CVSS4.3 (MEDIUM, v2.0)
VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS6.67% — more likely to be exploited than 94% of all CVEs
WeaknessCWE-20
On CISA KEVno
Public exploityes
Published2011-08-29
Last modified2026-06-16

Affected (1)

VendorProduct
rubyonrailsrails

Public exploits

References

→ the Explorer  ·  watch your stack  ·  NVD