Symfony Authentication Bypass
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.8.0 before 2.8.37Ecosystem versions | 2.8.37 |
| From 3.0.0 before 3.3.17Ecosystem versions | 3.3.17 |
| From 3.4.0 before 3.4.7Ecosystem versions | 3.4.7 |
| From 4.0.0 before 4.0.7Ecosystem versions | 4.0.7 |
Version evidence: OSV · GHSA-35c5-28pg-2qg4
View original version evidence (111 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.8.0 before 2.8.37Ecosystem versions | 2.8.37 |
| From 3.0.0 before 3.3.17Ecosystem versions | 3.3.17 |
| From 3.4.0 before 3.4.7Ecosystem versions | 3.4.7 |
| From 4.0.0 before 4.0.7Ecosystem versions | 4.0.7 |
Version evidence: OSV · GHSA-35c5-28pg-2qg4
View original version evidence (111 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.8.0 before 2.8.37Ecosystem versions | 2.8.37 |
| From 3.0.0 before 3.3.17Ecosystem versions | 3.3.17 |
| From 3.4.0 before 3.4.7Ecosystem versions | 3.4.7 |
| From 4.0.0 before 4.0.7Ecosystem versions | 4.0.7 |
Version evidence: OSV · GHSA-35c5-28pg-2qg4
View original version evidence (111 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2018-11407
- Patch github.com/symfony/symfony/pull/27377
- Patch github.com/symfony/symfony/commit/b46fc93785d37ffa5d706a82cd175b33ce8f2934
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2018-11407.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11407.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11407.yaml
- Source reference github.com/symfony/symfony
- Security advisory symfony.com/blog/cve-2018-11407-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password
- Security advisory symfony.com/cve-2018-11407