🛡️ CVE-2015-2308 — http-kernel

⚪ Unknown ✅ No Known Exploit CWE-94 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Symfony Vulnerable to PHP Eval Injection

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

Weakness class

CVE-2015-2308 is classified as CWE-94: Code Injection. Input is incorporated into code that the runtime evaluates, so an attacker can have their own code executed.

Affected software

CVE-2015-2308 is recorded against 2 packages.

  • symfony/http-kernel (from 2.6.0 up to 2.6.6)
  • symfony/symfony (from 2.6.0 up to 2.6.6)

Timeline and source

Published on 17 May 2022 and last revised on 8 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
symfony.com (Web)
symfony.com (Web)
web.archive.org (Web)
jvn.jp (Web)
jvndb.jvn.jp (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-94
Public Exploit ✅ No
Source OSV
Published 2022-05-17
Updated 2026-08-12
Modified 2024-12-08
Fix URL N/A

Affected Packages

Software From version Fixed in
symfony/http-kernel 2.6.0 2.6.6
symfony/symfony 2.6.0 2.6.6

Free Vulnerability Check

Is your site affected by CVE-2015-2308?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2015-2308 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.