PT-2011-4299

CVE-2011-3187

·

Publicado

2011-08-29

·

Atualizado

2019-08-08

Descrição por

CVSS 2.0
4.3
Média
MétricasAV: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.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
GHSA-3VFW-7RCP-3XGM
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾