Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-0211 EUVD-2010-0242GHSA-m9h3-f3g9-fqrf

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…

Published Jul 27, 2010 · Updated Aug 7, 2024 · Assigned by certcc

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 openldap 2.4.23-1 —
Debian 13 openldap 2.4.23-1 —
Debian 12 openldap 2.4.23-1 —
Debian 5.0 openldap 2.4.11-1+lenny2 DSA-2077-1
ReleasePackageFixed inAdvisory
RHEL 5 compat-openldap 2.3.43_2.2.29-12.el5_5.1 RHSA-2010:0542
RHEL 5 openldap +5 2.3.43-12.el5_5.1 RHSA-2010:0542
RHEL 4 compat-openldap 2.1.30-12.el4_8.3 RHSA-2010:0543
RHEL 4 openldap +4 2.2.13-12.el4_8.3 RHSA-2010:0543

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References