CVE-2014-6072:
Symfony Cross-Site Request Forgery vulnerability in the Web Profiler
8.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/30/2024
Updated
5/30/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
symfony/symfony | composer | >= 2.0.0, < 2.3.19 | 2.3.19 |
symfony/symfony | composer | >= 2.4.0, < 2.4.9 | 2.4.9 |
symfony/symfony | composer | >= 2.5.0, < 2.5.4 | 2.5.4 |
symfony/web-profiler-bundle | composer | >= 2.0.0, < 2.3.19 | 2.3.19 |
symfony/web-profiler-bundle | composer | >= 2.4.0, < 2.4.9 | 2.4.9 |
symfony/web-profiler-bundle | composer | >= 2.5.0, < 2.5.4 | 2.5.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key issues: 1) The web-based import form lacked CSRF protection (handled by ProfilerController::importAction), allowing forged submissions. 2) The profile data was deserialized using PHP's insecure unserialize() function (in Profiler::import), which is prone to object injection attacks. The combination allowed attackers to execute arbitrary code by tricking authenticated users into importing malicious profiles. The patch removed these web endpoints and moved functionality to CLI commands, eliminating the CSRF vector and reducing exposure of unserialize() to untrusted input.