GitHub Advisory Database
GHSA-35c5-28pg-2qg4
Symfony Authentication Bypass
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | symfony/security-core | From 2.8.0 before 2.8.37 (fixed in 2.8.37) |
| Packagist | symfony/security-core | From 3.0.0 before 3.3.17 (fixed in 3.3.17) |
| Packagist | symfony/security-core | From 3.4.0 before 3.4.7 (fixed in 3.4.7) |
| Packagist | symfony/security-core | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
| Packagist | symfony/security | From 2.8.0 before 2.8.37 (fixed in 2.8.37) |
| Packagist | symfony/security | From 3.0.0 before 3.3.17 (fixed in 3.3.17) |
| Packagist | symfony/security | From 3.4.0 before 3.4.7 (fixed in 3.4.7) |
| Packagist | symfony/security | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
| Packagist | symfony/symfony | From 2.8.0 before 2.8.37 (fixed in 2.8.37) |
| Packagist | symfony/symfony | From 3.0.0 before 3.3.17 (fixed in 3.3.17) |
| Packagist | symfony/symfony | From 3.4.0 before 3.4.7 (fixed in 3.4.7) |
| Packagist | symfony/symfony | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-11407
- https://github.com/symfony/symfony/pull/27377
- https://github.com/symfony/symfony/commit/b46fc93785d37ffa5d706a82cd175b33ce8f2934
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2018-11407.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11407.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11407.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/cve-2018-11407-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password
- https://symfony.com/cve-2018-11407