cbcvebase.
CVE-2010-0211
published 2010-07-28

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…

PriorityP262critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
29.24%
98.0th percentile
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.

Affected

13 ranges
VendorProductVersion rangeFixed in
applemac_os_x>= 10.6.0 < 10.6.510.6.5
applemac_os_x_server>= 10.6.0 < 10.6.510.6.5
debianopenldap< openldap 2.4.23-1 (bookworm)openldap 2.4.23-1 (bookworm)
openldapopenldap
openldapopenldap>= 0 < 2.4.23-12.4.23-1
openldapopenldap>= 0 < 2.4.23-12.4.23-1
openldapopenldap>= 0 < 2.4.23-12.4.23-1
openldapopenldap>= 0 < 2.4.23-12.4.23-1
opensuseopensuse
vmwareesxi
vmwareesxi
vmwareesxi
vmwarevmware_workstation

Detection & IOCsextracted from sources · hover to see the quote

commandldapmodrdn -x cn=something,dc=anything cn=#80
commandldapmodrdn -x dc=something,dc=anything dc=
  • Detect modrdn requests containing invalid UTF-8 sequences in the RDN string (e.g., byte sequence #80 or higher non-valid UTF-8 bytes) sent to LDAP service; these trigger the vulnerable slap_modrdn2mods code path.
  • Detect modrdn requests with an empty RDN string (e.g., 'dc=') targeting slapd; this triggers the related CVE-2010-0212 NULL pointer dereference in IA5StringNormalize.
  • Monitor slapd process for segmentation faults or unexpected crashes following receipt of LDAPv3 ModifyDN (modrdn) operations, which may indicate exploitation attempts.
  • On Ubuntu systems, check AppArmor logs for slapd profile violations that may indicate exploitation attempts against CVE-2010-0211.
  • ·The vulnerability is pre-auth exploitable in OpenLDAP 2.4.x (Fedora/RHEL-6); in OpenLDAP 2.3.x (RHEL-5) it can only be triggered by an authenticated user with sufficient privileges to perform modrdn operations — selfwrite privilege is not sufficient.
  • ·OpenLDAP versions as shipped with RHEL-4 and RHEL-3 are not affected because IA5StringValidate() rejects empty strings before the vulnerable IA5StringNormalize() is called.
  • ·The vulnerability is fixed in OpenLDAP 2.4.23; Debian packages resolved at version 2.4.23-1.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.