Mittel

Symfony Vulnerable to PHP Eval Injection

  • Veröffentlicht: 17.05.2022
  • Aktualisiert: 11.10.2026 10:22

Applications with ESI support (and SSI support as of Symfony 2.6) enabled and using the Symfony built-in reverse proxy (the `Symfony\Component\HttpKernel\HttpCache class) are vulnerable to PHP code injection; a malicious user can inject PHP code that will be executed by the server.

HttpCache uses eval() to execute files in its cache when they contain ESI tags (and only when ESI is enabled). The vulnerability comes from the fact that PHP allows contents of <script language="php"> tags to be executed (and this kind of PHP tags is always available regardless of the configuration), but there were not escaped before the evaluation.

A possible exploit comes from websites also vulnerable to Cross-Site Scripting as an attacker can successfully conduct a PHP code injection attack by passing such a tag in a user submitted variable (for which proper output escaping was not applied).

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket symfony/http-kernel >= 2.0.0, < 2.3.27, >= 2.4.0, < 2.5.11, >= 2.6.0, < 2.6.6 2.3.27, 2.5.11, 2.6.6
Composer-Paket symfony/symfony >= 2.0.0, < 2.3.27, >= 2.4.0, < 2.5.11, >= 2.6.0, < 2.6.6 2.3.27, 2.5.11, 2.6.6

Verweise

CVSS-Wert -
Schwäche (CWE)
CWE-94
Plattform
Composer
Paket
symfony/http-kernel, symfony/symfony
Veröffentlicht
17.05.2022
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-5c58-w9xc-qcj9 - CC BY 4.0

Schwachstellenhistorie: symfony/http-kernel

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
8
Erste → letzte
09.2020 05.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 4
  • Mittel 4

Veröffentlichungen pro Jahr

  1. 2020: 1
  2. 2021: 1
  3. 2022: 3
  4. 2023: 1
  5. 2024: 1
  6. 2025: 0
  7. 2026: 1
  1. Hoch · 7.5 CVE-2014-5245 >= 2.0.0, < 2.3.19, >= 2.4.0, < 2.4.9, >= 2.5.0, < 2.5.4 2.3.19, 2.4.9, 2.5.4
  2. Mittel · 5.9 CVE-2022-24894 >= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.20, >= 6.0.0, < 6.0.20, >= 6.1.0, < 6.1.12, >= 6.2.0, < 6.2.6 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
  3. Symfony Vulnerable to PHP Eval Injection dieser Eintrag
    Mittel CVE-2015-2308 >= 2.0.0, < 2.3.27, >= 2.4.0, < 2.5.11, >= 2.6.0, < 2.6.6 2.3.27, 2.5.11, 2.6.6
  4. Mittel CVE-2015-4050 >= 2.3.19, < 2.3.29, >= 2.5.4, < 2.5.12, >= 2.6.0, < 2.6.8, >= 2.4.9, <= 2.4.10 2.3.29, 2.5.12, 2.6.8
  5. Hoch · 8.1 CVE-2019-18887 >= 2.2.0, < 2.8.52, >= 3.0.0, < 3.4.35, >= 4.0.0, < 4.2.12, >= 4.3.0, < 4.3.8 2.8.52, 3.4.35, 4.2.12, 4.3.8
  6. Mittel · 6.5 CVE-2021-41267 >= 5.2.0, < 5.3.12 5.3.12
  7. Hoch · 8.0 CVE-2020-15094 >= 4.3.0, < 4.4.13, >= 5.0.0, < 5.1.5 4.4.13, 5.1.5

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.