PT-2011-4299 · Ruby+1 · Ruby On Rails+1

Vincent Danen

·

Publicado

2011-08-29

·

Atualizado

2019-08-08

·

CVE-2011-3187

CVSS v2.0

4.3

Média

VetorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions Ruby on Rails version 3.0.5
Description The issue concerns the to s method in actionpack/lib/action dispatch/middleware/remote ip.rb, which fails to validate the X-Forwarded-For header in requests from IP addresses on a Class C network. This could allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
Recommendations For Ruby on Rails version 3.0.5, consider validating the X-Forwarded-For header to prevent arbitrary text injection into log files or address parsing bypass. As a temporary workaround, restrict access to the to s method in actionpack/lib/action dispatch/middleware/remote ip.rb to minimize the risk of exploitation.

Exploit

Correção

RCE

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2011-3187
GHSA-3VFW-7RCP-3XGM

Produtos afetados

Debian
Ruby On Rails