CVE-2011-3187

Published Aug 29, 2011 CVSS 2.0 · 4.3 Medium EPSS 6.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 11:22 PM
Reserved
Aug 19, 2011, 12:00 AM
Status
Modified
Published
Aug 29, 2011, 6:55 PM
Modified
Jun 16, 2026, 11:32 PM