Miggo Logo

CVE-2014-6072:
Symfony Cross-Site Request Forgery vulnerability in the Web Profiler

8.1

CVSS Score

Basic Information

EPSS Score
-
Published
5/30/2024
Updated
5/30/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
symfony/symfonycomposer>= 2.0.0, < 2.3.192.3.19
symfony/symfonycomposer>= 2.4.0, < 2.4.92.4.9
symfony/symfonycomposer>= 2.5.0, < 2.5.42.5.4
symfony/web-profiler-bundlecomposer>= 2.0.0, < 2.3.192.3.19
symfony/web-profiler-bundlecomposer>= 2.4.0, < 2.4.92.4.9
symfony/web-profiler-bundlecomposer>= 2.5.0, < 2.5.42.5.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*ll *.*.X, *.*.X, *.*.X, *.*.X, *.*.X, *n* *.*.X v*rsions o* t** Sym*ony W**Pro*il*r *un*l* *r* *****t** *y t*is s**urity issu*. T*is issu* **s ***n *ix** in Sym*ony *.*.**, *.*.*, *n* *.*.*. Not* t**t no *ix*s *r* provi*** *or Sym*ony *.*, *.*, *n*

Reasoning

T** vuln*r**ility st*mm** *rom two k*y issu*s: *) T** w**-**s** import *orm l**k** *SR* prot**tion (**n*l** *y Pro*il*r*ontroll*r::import**tion), *llowin* *or*** su*missions. *) T** pro*il* **t* w*s **s*ri*liz** usin* P*P's ins**ur* uns*ri*liz*() *un