CWE
94
Advisory Published
CVE Published
Updated

CVE-2015-2308: Code Injection

First published: Wed Apr 01 2015(Updated: )

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).

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/symfony/symfony>=2.0.0<2.1.0>=2.1.0<2.2.0>=2.2.0<2.3.0>=2.3.0<2.3.27>=2.4.0<2.5.0>=2.5.0<2.5.11>=2.6.0<2.6.6
composer/symfony/http-kernel>=2.0.0<2.1.0>=2.1.0<2.2.0>=2.2.0<2.3.0>=2.3.0<2.3.27>=2.4.0<2.5.0>=2.5.0<2.5.11>=2.6.0<2.6.6
SensioLabs Symfony=2.0.0
SensioLabs Symfony=2.0.1
SensioLabs Symfony=2.0.2
SensioLabs Symfony=2.0.3
SensioLabs Symfony=2.0.4
SensioLabs Symfony=2.0.5
SensioLabs Symfony=2.0.6
SensioLabs Symfony=2.0.7
SensioLabs Symfony=2.0.8
SensioLabs Symfony=2.0.9
SensioLabs Symfony=2.0.10
SensioLabs Symfony=2.0.11
SensioLabs Symfony=2.0.12
SensioLabs Symfony=2.0.13
SensioLabs Symfony=2.0.14
SensioLabs Symfony=2.0.15
SensioLabs Symfony=2.0.16
SensioLabs Symfony=2.0.17
SensioLabs Symfony=2.0.18
SensioLabs Symfony=2.0.19
SensioLabs Symfony=2.0.20
SensioLabs Symfony=2.0.21
SensioLabs Symfony=2.0.22
SensioLabs Symfony=2.1.0
SensioLabs Symfony=2.1.1
SensioLabs Symfony=2.1.2
SensioLabs Symfony=2.1.3
SensioLabs Symfony=2.1.4
SensioLabs Symfony=2.1.5
SensioLabs Symfony=2.1.6
SensioLabs Symfony=2.1.7
SensioLabs Symfony=2.2.0
SensioLabs Symfony=2.2.1
SensioLabs Symfony=2.2.2
SensioLabs Symfony=2.2.3
SensioLabs Symfony=2.2.4
SensioLabs Symfony=2.2.5
SensioLabs Symfony=2.2.6
SensioLabs Symfony=2.2.8
SensioLabs Symfony=2.2.9
SensioLabs Symfony=2.2.10
SensioLabs Symfony=2.2.11
SensioLabs Symfony=2.3.19
SensioLabs Symfony=2.3.20
SensioLabs Symfony=2.3.21
SensioLabs Symfony=2.3.22
SensioLabs Symfony=2.3.23
SensioLabs Symfony=2.3.24
SensioLabs Symfony=2.3.25
SensioLabs Symfony=2.3.26
SensioLabs Symfony=2.4.1
SensioLabs Symfony=2.4.2
SensioLabs Symfony=2.4.3
SensioLabs Symfony=2.4.4
SensioLabs Symfony=2.4.5
SensioLabs Symfony=2.4.6
SensioLabs Symfony=2.4.7
SensioLabs Symfony=2.4.8
SensioLabs Symfony=2.4.9
SensioLabs Symfony=2.4.10
SensioLabs Symfony=2.5.1
SensioLabs Symfony=2.5.2
SensioLabs Symfony=2.5.3
SensioLabs Symfony=2.5.4
SensioLabs Symfony=2.5.5
SensioLabs Symfony=2.5.6
SensioLabs Symfony=2.5.7
SensioLabs Symfony=2.5.8
SensioLabs Symfony=2.5.9
SensioLabs Symfony=2.5.10
SensioLabs Symfony=2.6.0
SensioLabs Symfony=2.6.1
SensioLabs Symfony=2.6.3
SensioLabs Symfony=2.6.4
SensioLabs Symfony=2.6.5
composer/symfony/http-kernel>=2.6.0<2.6.6
2.6.6
composer/symfony/http-kernel>=2.4.0<2.5.11
2.5.11
composer/symfony/http-kernel>=2.0.0<2.3.27
2.3.27
composer/symfony/symfony>=2.6.0<2.6.6
2.6.6
composer/symfony/symfony>=2.4.0<2.5.11
2.5.11
composer/symfony/symfony>=2.0.0<2.3.27
2.3.27

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203