CVE-2010-0211
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
OpenLDAP 2.4.22 - 'modrdn' Multiple Vulnerabilities
OS impact
macOS Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 10.6.5 |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 11.0 | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.4.23-1 |
| sid | Fixed | 2.4.23-1 |
| forky | Fixed | 2.4.23-1 |
| bullseye | Fixed | 2.4.23-1 |
| bookworm | Fixed | 2.4.23-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openldap | openldap | 2.4.22 | |
References
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://secunia.com/advisories/40639
- http://secunia.com/advisories/40677
- http://secunia.com/advisories/40687
- http://secunia.com/advisories/42787
- http://security.gentoo.org/glsa/glsa-201406-36.xml
- http://support.apple.com/kb/HT4435
- http://www.openldap.org/its/index.cgi/Software%20Bugs?id=6570
- http://www.redhat.com/support/errata/RHSA-2010-0542.html
- http://www.redhat.com/support/errata/RHSA-2010-0543.html
- http://www.securityfocus.com/archive/1/515545/100/0/threaded
- http://www.securityfocus.com/bid/41770
- http://www.securitytracker.com/id?1024221
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- http://www.vupen.com/english/advisories/2010/1849
- http://www.vupen.com/english/advisories/2010/1858
- http://www.vupen.com/english/advisories/2011/0025
- https://security-tracker.debian.org/tracker/CVE-2010-0211
CWEs
CWE-252
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.