ID CVE-2010-0212
Summary OpenLDAP 2.4.22 allows remote attackers to cause a denial of service (crash) via a modrdn call with a zero-length RDN destination string, which is not properly handled by the smr_normalize function and triggers a NULL pointer dereference in the IA5StringNormalize function in schema_init.c, as demonstrated using the Codenomicon LDAPv3 test suite.
References
Vulnerable Configurations
  • cpe:2.3:a:openldap:openldap:2.4.22:*:*:*:*:*:*:*
    cpe:2.3:a:openldap:openldap:2.4.22:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 10-10-2018 - 19:51)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
redhat via4
advisories
bugzilla
id 605452
title CVE-2010-0212 openldap: modrdn processing IA5StringNormalize NULL pointer dereference
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • comment compat-openldap is earlier than 0:2.3.43_2.2.29-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542001
        • comment compat-openldap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037002
      • AND
        • comment openldap is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542003
        • comment openldap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037004
      • AND
        • comment openldap-clients is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542005
        • comment openldap-clients is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037006
      • AND
        • comment openldap-devel is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542007
        • comment openldap-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037008
      • AND
        • comment openldap-servers is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542009
        • comment openldap-servers is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037010
      • AND
        • comment openldap-servers-overlays is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542011
        • comment openldap-servers-overlays is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100198012
      • AND
        • comment openldap-servers-sql is earlier than 0:2.3.43-12.el5_5.1
          oval oval:com.redhat.rhsa:tst:20100542013
        • comment openldap-servers-sql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20071037012
rhsa
id RHSA-2010:0542
released 2010-07-20
severity Moderate
title RHSA-2010:0542: openldap security update (Moderate)
rpms
  • compat-openldap-0:2.3.43_2.2.29-12.el5_5.1
  • openldap-0:2.3.43-12.el5_5.1
  • openldap-clients-0:2.3.43-12.el5_5.1
  • openldap-debuginfo-0:2.3.43-12.el5_5.1
  • openldap-devel-0:2.3.43-12.el5_5.1
  • openldap-servers-0:2.3.43-12.el5_5.1
  • openldap-servers-overlays-0:2.3.43-12.el5_5.1
  • openldap-servers-sql-0:2.3.43-12.el5_5.1
refmap via4
apple APPLE-SA-2010-11-10-1
bid 41770
bugtraq 20110105 VMSA-2011-0001 VMware ESX third party updates for Service Console packages glibc, sudo, and openldap
confirm
gentoo GLSA-201406-36
sectrack 1024221
secunia
  • 40639
  • 40687
  • 42787
suse SUSE-SR:2010:014
vupen
  • ADV-2010-1849
  • ADV-2010-1858
  • ADV-2011-0025
Last major update 10-10-2018 - 19:51
Published 28-07-2010 - 12:48
Last modified 10-10-2018 - 19:51
Back to Top