CVE-2014-5245
PHP vulnerability analysis and mitigation

Overview

CVE-2014-5245 is a security vulnerability affecting Symfony's HttpKernel component, specifically related to direct access of ESI (Edge Side Includes) URLs behind a trusted proxy. The vulnerability was discovered and disclosed on September 3, 2014. It affects multiple versions of Symfony, including versions 2.0.x through 2.5.x (specifically versions 2.0.0 to 2.3.19, 2.4.0 to 2.4.9, and 2.5.0 to 2.5.4) (GitHub Advisory).

Technical details

The vulnerability exists in the FragmentHandler component where requests to render fragments were considered as coming from a trusted source when using a proxy like Varnish, even if the client was requesting them directly. This created a security issue as Symfony could not distinguish between ESI requests made on behalf of the client by Varnish and faked fragment requests coming directly from the client. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).

Impact

The vulnerability only affects applications that have the ESI feature enabled and are running behind a proxy. When exploited, it could allow attackers to directly access ESI URLs that should only be accessible through the trusted proxy, potentially exposing sensitive information or functionality that should be restricted (GitHub Advisory).

Exploitability

The vulnerability is exploitable when the ESI feature is enabled and there is a proxy configured as trusted in front of the web application. An attacker could potentially forge requests to access fragment URLs directly, bypassing intended access controls (GitHub Advisory).

Mitigation and workarounds

The issue has been fixed in Symfony versions 2.3.19, 2.4.9, and 2.5.4. For unsupported versions or as a temporary workaround, users can implement a Varnish configuration rule to block direct access to fragment URLs: sub vcl_recv { if (req.restarts == 0 && req.url ~ "^/_fragment") { error 400; } }. The fix involves signing all fragment URIs, even for ESI, rather than relying on trusted IPs for fragment request validation (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026
CVE-2026-67434HIGH7.3
  • PHP logoPHP
  • squizlabs/php_codesniffer
NoYesAug 06, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026
CVE-2026-71435MEDIUM6.1
  • PHP logoPHP
  • statamic/cms
NoYesAug 06, 2026
CVE-2026-71434MEDIUM5.3
  • PHP logoPHP
  • statamic/cms
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management