Skip to content

CVE-2010-0211 The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the smr_normalize function, which allows remote attackers to cause a denial of service (segmen...

CriticalCVSS 9.8 EPSS 28.5% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
Debian

Description

The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the smr_normalize function, which allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a modrdn call with an RDN string containing invalid UTF-8 sequences, which triggers a free of an invalid, uninitialized pointer in the slap_mods_free function, as demonstrated using the Codenomicon LDAPv3 test suite.

Upgrade path

8 packages: 5 fixed.

PackageAffectedFixed inStatus
apple mac os x >= 10.6.0, < 10.6.5 10.6.5 Fixed
apple mac os x server >= 10.6.0, < 10.6.5 10.6.5 Fixed
debian/openldap(Debian 12) < 2.4.23-1 2.4.23-1 Fixed
debian/openldap(Debian 13) < 2.4.23-1 2.4.23-1 Fixed
debian/openldap(Debian 14) < 2.4.23-1 2.4.23-1 Fixed
openldap = 2.4.22 No fix listed Versions listed
opensuse = 11.0 No fix listed Versions listed
VMware esxi = 4.0; = 4.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openldap = 2.4.22 No fix listed
VMware esxi = 4.0 No fix listed
VMware esxi = 4.1 No fix listed
opensuse = 11.0 No fix listed
apple mac os x >= 10.6.0, < 10.6.5 10.6.5
apple mac os x server >= 10.6.0, < 10.6.5 10.6.5
debian/openldap(Debian:12) < 2.4.23-1 2.4.23-1
debian/openldap(Debian:13) < 2.4.23-1 2.4.23-1
debian/openldap(Debian:14) < 2.4.23-1 2.4.23-1

References