Access Restriction Bypass Affecting github.com/go-ldap/ldap Open this link in a new tab package, versions <2.5.0
Attack Complexity
High
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-GOLANG-GITHUBCOMGOLDAPLDAP-50053
-
published
17 Oct 2017
-
disclosed
23 Aug 2017
-
credit
Tiziano Santoro
Introduced: 23 Aug 2017
CVE-2017-14623 Open this link in a new tabOverview
github.com/go-ldap/ldap
is a basic LDAP v3 functionality for the GO programming language.
Affected versions of the package are vulnerable to Access Restriction Bypass.
In the ldap.v2 (aka go-ldap) package through 2.5.0 for Go, an attacker may be able to login with an empty password. This issue affects an application using this package if these conditions are met: (1) it relies only on the return error of the Bind function call to determine whether a user is authorized (i.e., a nil return value is interpreted as successful authorization) and (2) it is used with an LDAP server allowing unauthenticated bind.
Remediation
Upgrade to commit 95ede12
from Aug 24, 2017 or newer.