CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2011 · Rubyonrails

CVE-2011-3187
Rubyonrails Rails vulnerability

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.

Affected products

Rails. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Rubyonrails products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.