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.
Published: 2011-08-29
Score: 4.3 Medium
EPSS: 9.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2017-0159 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.
Github GHSA Github GHSA GHSA-3vfw-7rcp-3xgm actionpack Improper Input Validation vulnerability
History

No history.

Subscriptions

Rubyonrails Rails
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T23:22:27.754Z

Reserved: 2011-08-19T00:00:00.000Z

Link: CVE-2011-3187

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2011-08-29T18:55:01.707

Modified: 2026-04-29T01:13:23.040

Link: CVE-2011-3187

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses