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


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.79% (82nd percentile)

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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMPHONYSYMPHONY-609348
  • published2 Sept 2020
  • disclosed2 Sept 2020
  • creditMatthias Pigulla

Introduced: 2 Sep 2020

CVE-2020-15094  (opens in a new tab)
CWE-94  (opens in a new tab)

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

CVSS Scores

version 3.1