CVE-2013-1897
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.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | 389-ds-base | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | 389-ds-base | Not affected vulnerable_code_not_present | ||
| Debian 13 | 389-ds-base | Fixed | 1.3.2.9-1 | DEBIAN-CVE-2013-1897 |
| Debian 12 | 389-ds-base | Fixed | 1.3.2.9-1 | DEBIAN-CVE-2013-1897 |
| Red Hat Enterprise Linux 6 | 389-ds-base | Fixed | 0:1.2.11.15-14.el6_4 | RHSA-2013:0742 |
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Fixed | 0:1.2.11.15-14.el6_4 | RHSA-2013:0742 |
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Fixed | 0:1.2.11.15-14.el6_4 | RHSA-2013:0742 |
| Red Hat Enterprise Linux 6 | ipa | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-admintools | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-client | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-python | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-server-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa-server-trust-ad | Fix pending Affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101323.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2013-0742.html (vendor-advisory)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101323.html
- 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
- http://rhn.redhat.com/errata/RHSA-2013-0742.html
- https://fedorahosted.org/389/ticket/47308
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.