MediumGHSA-5c58-w9xc-qcj9::1
Symfony Vulnerable to PHP Eval Injection
Affected versions
2.0.0 to before 2.3.27, 2.4.0 to before 2.5.11, 2.6.0 to before 2.6.6 - fixed in 2.3.27Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-2308
- https://nvd.nist.gov/vuln/detail/CVE-2015-2308
- https://github.com/symfony/symfony/pull/14167/commits/195c57e1f50765aff33137689b16e126a689056a
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2015-2308.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-2308.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/cve-2015-2308-esi-code-injection
- https://symfony.com/cve-2015-2308
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected