CVE-2014-6072: Symfony Web Profiler Cross-Site Request Forgery Vulnerability

symfony/symfony Updated 02 Oct 2025

Summary

30/05/2024
Yes i
High
8.1

CVE-2014-6072: Symfony Cross-Site Request Forgery vulnerability in the Web Profiler. Affects symfony/symfony across 3 version ranges.

>= 2.0.0, < 2.3.19 >= 2.4.0, < 2.4.9 >= 2.5.0, < 2.5.4

Fixed in 2.3.19, 2.4.9 or 2.5.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Symfony is a popular PHP web application framework used for developing robust and scalable applications. The Symfony Web Profiler is a development tool that provides detailed information about a Symfony project, including user logins, executed SQL statements, and other sensitive data. However, it should not be enabled on production servers or should be properly secured to prevent unauthorized access. The Web Profiler bundle versions 2.0.X to 2.5.X are affected by a Cross-Site Request Forgery (CSRF) vulnerability.

Vulnerability Detail

The import/export feature of the Symfony Web Profiler is vulnerable to CSRF attacks. This feature allows the import of profiler data as a PHP serialized string, making the application susceptible to code injection. An attacker can exploit this vulnerability to execute arbitrary code on the server. This can lead to unauthorized access, data leakage, and potential compromise of the entire application.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.3.19 2.3.19
    composer require symfony/symfony:2.3.19
  • >= 2.4.0, < 2.4.9 2.4.9
    composer require symfony/symfony:2.4.9
  • >= 2.5.0, < 2.5.4 2.5.4
    composer require symfony/symfony:2.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Conclusion

The Symfony Web Profiler bundle versions 2.0.X to 2.5.X are affected by a Cross-Site Request Forgery (CSRF) vulnerability in the import/export feature. This vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire application. To fix this vulnerability, developers should no longer rely on the import/export feature and instead use the profiler:import and profiler:export Symfony commands provided by the WebProfiler bundle from the command line interface. It is crucial to properly secure the Web Profiler or avoid enabling it on production servers. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for symfony/symfony →

Share this vulnerability

FAQ

The Symfony Web Profiler is a development tool that provides detailed information about a Symfony project, including user logins, executed SQL statements, and other sensitive data. It should not be enabled on production servers or should be properly secured to prevent unauthorized access.

Cross-Site Request Forgery (CSRF) is an attack that tricks the victim into submitting a malicious request. In the case of the Symfony Web Profiler vulnerability, an attacker can exploit the import/export feature to execute arbitrary code on the server.

This vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire application. An attacker can execute arbitrary code on the server, potentially gaining control over sensitive data and performing malicious actions.

To fix this vulnerability, the import/export feature has been removed from the Web interface and moved as CLI commands. Developers should no longer rely on this feature and instead use the profiler:import and profiler:export Symfony commands provided by the WebProfiler bundle from the command line interface.

No, the import/export feature has been removed from the Web interface due to security concerns. Developers should use the CLI commands profiler:import and profiler:export instead.

Related vulnerabilities

Recent vulnerabilities recorded for symfony/symfony.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.3.19 2.3.19
    composer require symfony/symfony:2.3.19
  • >= 2.4.0, < 2.4.9 2.4.9
    composer require symfony/symfony:2.4.9
  • >= 2.5.0, < 2.5.4 2.5.4
    composer require symfony/symfony:2.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback