Skip to content

[L1] LDAP uses anonymous (unauthenticated) bind #290

Description

@pradeepto

Severity: Low

Category

Authentication (OWASP A07)

Files

pkg/clients/ldap/client.go:54

Description

The LDAP connection uses UnauthenticatedBind("") (anonymous bind). This works for read-only access to public directory attributes but it means the LDAP server must be configured to restrict what anonymous clients can see. If the LDAP server ACLs are misconfigured more data than intended could be accessible to the operator.

Fix

Consider using authenticated bind with service account credentials if the LDAP server supports it. If anonymous bind is intentional document the design decision and ensure LDAP server ACLs are reviewed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    prioritisedHelps contributors figure out which issues can be pickedsecurity-fix-requiredSecurity vulnerability requiring fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions