p PatchFirst

GHSA-xffp-6w68-4775

GHSA-xffp-6w68-4775 · Zendframework Remote Address Spoofing Vector in `Zend\Http\PhpEnvironment\RemoteAddress`

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

The `Zend\Http\PhpEnvironment\RemoteAddress` class provides features around detecting the internet protocol (IP) address for an incoming proxied request via the X-Forwarded-For header, taking into account a provided list of trusted proxy server IPs. Prior to 2.2.5, the class was not taking into account whether or not the IP address contained in PHP's `$_SERVER['REMOTE_ADDR']` was in the trusted proxy server list. The IETF draft specification indicates that if `$_SERVER['REMOTE_ADDR']` is not a trusted proxy, it must be considered the originating IP address, and the value of X-Forwarded-For must be disregarded.

CVSS 7.5 · Alta · Corrección disponible

Publicación
Actualización

Pila tecnológica: php

Productos y versiones afectados

  • zendframework/zendframework Packagist

    Versiones
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.2.3
    • 2.2.4
    Intervalos de versiones afectados
    • ECOSYSTEM: ≥ 2.2.0, < 2.2.5

    Actualiza a 2.2.5

Fuentes originales

Comprueba tu servidor →