Authentication Bypass Vulnerability in Symfony Ldap Component

symfony Updated 02 Oct 2025

Summary

13/06/2018
N/A
Yes i
Critical
9.8

CVE-2018-11407: 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. Affects symfony across 3 version ranges.

< 3.4.12+dfsg-1 >= 5615b92cd452cd54f1433a3f53de87c096a1107f, < e5150a094b08887356b2b90805538836208d4569 >= a8d5dd00894f8b5e3edb897f4504c51ddc442370, < 779963cae79262cc38d7bb2ad7f15f21ee80a16d

Fixed in 3.4.12+dfsg-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Symfony is a robust PHP framework widely used for building web applications. It provides a set of reusable PHP components and a web application framework that helps developers create scalable and maintainable applications. The Ldap component of Symfony facilitates interaction with LDAP (Lightweight Directory Access Protocol) servers, allowing for user authentication and directory services. However, certain versions of this component are vulnerable to an authentication bypass issue, which can compromise application security.

Vulnerability Detail

An issue was discovered in the Ldap component of Symfony versions 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. This vulnerability allows remote attackers to bypass authentication by logging in with a 'null' password and a valid username, triggering an unauthenticated bind. This flaw exists due to an incomplete fix for a previous vulnerability (CVE-2016-2403), potentially allowing unauthorized access to sensitive information and user accounts.

How To Fix

Minimum fixed version

3.4.12+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade symfony

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing additional authentication checks in your application to prevent unauthenticated binds. This could involve enforcing stricter password policies or implementing multi-factor authentication (MFA) as a temporary measure until the upgrade can be completed.

Conclusion

The authentication bypass vulnerability in the Symfony Ldap component poses a significant risk to applications using affected versions. It is crucial for developers to upgrade to secure versions promptly and consider implementing additional security measures as a temporary solution. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.

See every vulnerability recorded for symfony →

Share this vulnerability

FAQ

The vulnerability affects Symfony versions 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.

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.

Exploitation of this vulnerability could allow attackers to gain unauthorized access to user accounts and sensitive data, leading to data breaches and compromised application integrity.

Yes, implementing additional authentication checks, such as enforcing stronger password policies or using multi-factor authentication, can help mitigate the risk until the vulnerability is patched.

Related vulnerabilities

Recent vulnerabilities recorded for symfony.

How To Fix

Minimum fixed version

3.4.12+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade symfony

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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