Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


OpenLDAP Denial of Service Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA27424  
Release Date: 2007-10-29
Last Update: 2008-02-08

Critical:
Less critical
Impact: DoS
Where: From remote
Solution Status: Vendor Patch

Software:OpenLDAP 2.3.x

CVE reference:CVE-2007-5708 (Secunia mirror)
CVE-2007-5707 (Secunia mirror)
CVE-2007-6698 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in OpenLDAP, which can be exploited by malicious users to cause a DoS (Denial of Service).

1) A vulnerability is caused due to the "add_filter_attrs()" function in servers/slapd/overlay/pcache.c not correctly NULL terminating "new_attrs", which can be exploited to crash slapd due to an out of bounds memory access.

Successful exploitation may require that slapd runs as proxy-caching server.

2) An error within the normalisation of "objectClasses" can be exploited to crash a vulnerable server by sending a malformed "objectClasses" attribute.

The vulnerabilities are reported in versions prior to 2.3.39.

3) An error when performing modify operations with a NOOP control on entries stored in the BDB backend can be exploited to crash the slapd daemon.

The vulnerability is reported in versions prior to 2.3.36.

Note: Several other bugs, which may have a security impact, were also reported.

Solution:
Update to version 2.3.39.
http://www.openldap.org/software/download/

Provided and/or discovered by:
1) Tony Blake
2) Thomas Sesselmann
3) Jonathan Clarke

Changelog:
2007-10-31: Added CVE reference.
2008-02-08: Added vulnerability #3.

Original Advisory:
http://www.openldap.org/software/release/changes.html

1) http://www.openldap.org/its/index.cgi/Software%20Bugs?id=5163
2) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440632
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=5119
3) http://www.openldap.org/its/index.cgi/Software%20Bugs?id=4925



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

5 Related Secunia Security Advisories

1. OpenLDAP ASN.1 BER Decoding Denial of Service
2. OpenLDAP modrdn Denial of Service Vulnerability
3. OpenLDAP "krbv4_ldap_auth()" Buffer Overflow Vulnerability
4. OpenLDAP slapd "selfwrite" Security Issue
5. OpenLDAP slurpd Status File Handling Buffer Overflow


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Mozilla Firefox Multiple Vulnerabilities
2.
Opera for Windows Unspecified Code Execution
3.
VLC Media Player WAV Processing Integer Overflow
4.
PCRE pcre_compile.c Buffer Overflow Vulnerability
5.
Mozilla Thunderbird Multiple Vulnerabilities
6.
GNOME Glib PCRE pcre_compile.c Buffer Overflow Vulnerability
7.
Fedora update for glib2
8.
zlib Denial of Service Vulnerability
9.
Internet Explorer 7 Frame Location Handling Vulnerability
10.
UnixWare ReliantHA Privilege Escalation Vulnerabilities





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia