Amenazas en vivo

Todas las CVE / Friendsofsymfony1

CVE-2024-28859Friendsofsymfony1 Symfony1

Crítica 9.0 Sin autenticación

Prioridad
69
CVSS 3.1
9.0
EPSS
1.3%
probabilidad de explotación en 30 días · percentil 70
Requiere autenticación
No
Publicada
15 mar 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-502
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Qué pasa

Symfony1 is a community fork of symfony 1.4 with DIC, form enhancements, latest Swiftmailer, better performance, composer compatible and PHP 8 support. Symfony 1 has a gadget chain due to vulnerable Swift Mailer dependency that would enable an attacker to get remote code execution if a developer unserialize user input in his project. This vulnerability present no direct threat but is a vector that will enable remote code execution if a developper deserialize user untrusted data. Symfony 1 depends on Swift Mailer which is bundled by default in vendor directory in the default installation since 1.3.0. Swift Mailer classes implement some `__destruct()` methods. These methods are called when php destroys the object in memory. However, it is possible to include any object type in `$this->_keys` to make PHP access to another array/object properties than intended by the developer. In particular, it is possible to abuse the array access which is triggered on foreach($this->_keys ...) for any class implementing ArrayAccess interface. This may allow an attacker to execute any PHP command which leads to remote code execution. This issue has been addressed in version 1.5.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Symfony1.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist friendsofsymfony1/swiftmailer ≥ 4.0.0 < 5.4.13 5.4.13 composer require "friendsofsymfony1/swiftmailer:^5.4.13"
Packagist friendsofsymfony1/swiftmailer ≥ 6.0.0 < 6.2.5 6.2.5 composer require "friendsofsymfony1/swiftmailer:^6.2.5"
Packagist friendsofsymfony1/symfony1 ≥ 1.3.0 < 1.5.18 1.5.18 composer require "friendsofsymfony1/symfony1:^1.5.18"
Packagist swiftmailer/swiftmailer ≥ 4.0.0 < 6.2.5 6.2.5 composer require "swiftmailer/swiftmailer:^6.2.5"

Según OSV / GitHub Advisories (GHSA-wjv8-pxr6-5f4r). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
friendsofsymfony1symfony1≥ 1.3.0 < 1.5.18

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.