CVE-2017-7189Php
Alta 7.5 Sin autenticación
Seguir: esta CVE · Php · Php Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.0
- 7.5
- EPSS
- 2.4% probabilidad de explotación en 30 días · percentil 85
- Requiere autenticación
- No
- Publicada
- 10 jul 2019
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación web · Multiplataforma
- Debilidad (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
main/streams/xp_socket.c in PHP 7.x before 2017-03-07 misparses fsockopen calls, such as by interpreting fsockopen('127.0.0.1:80', 443) as if the address/port were 127.0.0.1:80:443, which is later truncated to 127.0.0.1:80. This behavior has a security risk if the explicitly provided port number (i.e., 443 in this example) is hardcoded into an application as a security policy, but the hostname argument (i.e., 127.0.0.1:80 in this example) is obtained from untrusted input.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Php.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| php | php | ≥ 7.0.0 < 7.0.16 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- bugs.php.net Permissions Required Vendor Advisory
- github.com Patch Third Party Advisory