Description
The do_search function in ldap/servers/slapd/search.c in 389 Directory Server 1.2.x before 1.2.11.20 and 1.3.x before 1.3.0.5 does not properly restrict access to entries when the nsslapd-allow-anonymous-access configuration is set to rootdse and the BASE search scope is used, which allows remote attackers to obtain sensitive information outside of the rootDSE via a crafted LDAP search.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | 389-ds-base | 1.3.2.9-1 | — |
| Debian 12 | 389-ds-base | 1.3.2.9-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | 389-ds-base +2 | 1.2.11.15-14.el6_4 | RHSA-2013:0742 |
Advisories 1
- RHSA-2013:0742 Red Hat Security Advisory: 389-ds-base security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- FEDORA-2013-4578 vendor-advisory
- https://git.fedorahosted.org/cgit/389/ds.git/commit/?h=389-ds-base-1.2.11&id=5a18c828533a670e7143327893f8171a19062286
- https://bugzilla.redhat.com/show_bug.cgi?id=928105
- https://fedorahosted.org/freeipa/ticket/3540
- RHSA-2013:0742 vendor-advisory
- https://fedorahosted.org/389/ticket/47308