CVE-2018-11407 — Vulnerability in symfony/symfony — CVE Details
Symfony Authentication Bypass
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.32%). Schedule for your next planned update.
Does your project use an affected symfony/symfony version?
Paste your composer.lock to check it for CVE-2018-11407 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
An issue was discovered in the LDAP component in Symfony 2.8.x before 2.8.37, 3.3.x before 3.3.17, 3.4.x before 3.4.7, and 4.0.x before 4.0.7. It allows remote attackers to bypass authentication by logging in with a "null" password and valid username, which triggers an unauthenticated bind. NOTE: this issue exists because of an incomplete fix for CVE-2016-2403.
Advisory Timeline
- First published May 14, 2022 (1658 days ago).
- Last revised April 25, 2024 — 713 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/symfony:^4.0.7"
composer require "symfony/symfony:^3.4.7"
composer require "symfony/symfony:^3.3.17"
composer require "symfony/symfony:^2.8.37"
composer require "symfony/security-core:^3.4.7"
composer require "symfony/security:^3.4.7"
composer require "symfony/security:^3.3.17"
composer require "symfony/security-core:^3.3.17"
composer require "symfony/security:^2.8.37"
composer require "symfony/security-core:^2.8.37"
composer require "symfony/security-core:^4.0.7"
composer require "symfony/security:^4.0.7"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (12)
Affects 1 ecosystem: Packagist (3).
| Package | Fixed In |
|---|---|
| symfony/symfony Packagist · Affected: v4.0.0, v4.0.1, v4.0.2, v4.0.3 (+3 more) | 4.0.7 |
| symfony/symfony Packagist · Affected: v3.4.0, v3.4.1, v3.4.2, v3.4.3 (+3 more) | 3.4.7 |
| symfony/symfony Packagist · Affected: v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+56 more) | 3.3.17 |
| symfony/symfony Packagist · Affected: v2.8.0, v2.8.1, v2.8.10, v2.8.11 (+33 more) | 2.8.37 |
| symfony/security-core Packagist · Affected: v3.4.0, v3.4.1, v3.4.2, v3.4.3 (+3 more) | 3.4.7 |
| symfony/security Packagist · Affected: v3.4.0, v3.4.1, v3.4.2, v3.4.3 (+3 more) | 3.4.7 |
| symfony/security Packagist · Affected: v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+56 more) | 3.3.17 |
| symfony/security-core Packagist · Affected: v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+56 more) | 3.3.17 |
| symfony/security Packagist · Affected: v2.8.0, v2.8.1, v2.8.10, v2.8.11 (+33 more) | 2.8.37 |
| symfony/security-core Packagist · Affected: v2.8.0, v2.8.1, v2.8.10, v2.8.11 (+33 more) | 2.8.37 |
| symfony/security-core Packagist · Affected: v4.0.0, v4.0.1, v4.0.2, v4.0.3 (+3 more) | 4.0.7 |
| symfony/security Packagist · Affected: v4.0.0, v4.0.1, v4.0.2, v4.0.3 (+3 more) | 4.0.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-287Improper AuthenticationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-11407ADVISORY
- https://github.com/symfony/symfony/pull/27377WEB
- https://github.com/symfony/symfony/commit/b46fc93785d37ffa5d706a82cd175b33ce8f2934WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2018-11407.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11407.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11407.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://symfony.com/blog/cve-2018-11407-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-passwordWEB
- https://symfony.com/cve-2018-11407WEB
Frequently Asked Questions
- What is CVE-2018-11407?
- Symfony Authentication Bypass. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2018-11407?
- CVE-2018-11407 affects symfony/symfony, symfony/security-core and symfony/security. It has a 2.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-11407 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 84.2% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2017-11365CRITICAL
Symfony Incorrect Access Control
- CVE-2016-2403CRITICAL
Symfony Authentication Bypass
- CVE-2019-10913CRITICAL
Invalid HTTP method overrides allow possible XSS or other attacks in Symfony
- CVE-2026-109413HIGH
Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process
- CVE-2025-64500HIGH
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
- CVE-2026-45075HIGH
Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
- CVE-2026-45754MEDIUM
Symfony's Mailjet Mailer Webhook Parser Never Verifies the Configured Secret — Unauthenticated Webhook Event Injection
- CVE-2026-45068MEDIUM
Symfony has an Argument Injection in SendmailTransport via Dash-Prefixed Recipient Address