NetSight
hoch8.0

CVE-2020-15094

RCE in Symfony

Auswirkung

Description ----------- 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. Resolution ---------- HTTP headers designed for internal use in `HttpCache` are now stripped from remote responses before being passed to `HttpCache`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/d9910e0b33a2e0f993abff41c6fbc86951b66d78) for the 4.4 branch. Credits ------- I would like to thank Matthias Pigulla (webfactory GmbH) for reporting and fixing the issue.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
composersymfony/http-kernel>= 5.0.0, < 5.1.55.1.5
composersymfony/symfony>= 5.0.0, < 5.1.55.1.5

Betroffene Produkte

HerstellerProduktBetroffene Versionen
FedoraprojectFedora
Versionen 32, 33
SensiolabsHttpclient
ab 4.4.0 vor 4.4.13
ab 5.1.0 vor 5.1.5
SensiolabsSymfony
ab 4.4.0 vor 4.4.13
ab 5.1.0 vor 5.1.5

Schwachstellenklasse

Referenzen