Remote Code Execution (RCE) Affecting symphony/symphony package, versions >=4.3.0, <4.4.0 >=4.4.0, <4.4.13 >=5.0.0, <5.1.0 >=5.1.0, <5.1.5


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.71% (81st percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-SYMPHONYSYMPHONY-609348
  • published 2 Sep 2020
  • disclosed 2 Sep 2020
  • credit Matthias Pigulla

How to fix?

Upgrade symphony/symphony to version 4.4.0, 4.4.13, 5.1.0, 5.1.5 or higher.

Overview

symphony/symphony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The CachingHttpClient class from the HttpClient Symfony component relies on the HttpCache class to handle requests. HttpCache uses internal headers like X-Body-Eval and X-Body-File to control the restoration of cached responses. The class was initially written with surrogate caching and ESI support in mind (all HTTP calls come from a trusted backend in that scenario). But when used by CachingHttpClient and if an attacker can control the response for a request being made by the CachingHttpClient, remote code execution is possible.

References