PADL Software nss_ldap DNS Buffer Overflow Vulnerability
BID:6129
Info
PADL Software nss_ldap DNS Buffer Overflow Vulnerability
| Bugtraq ID: | 6129 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2002-0825 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 30 2002 12:00AM |
| Updated: | Jul 11 2009 06:07PM |
| Credit: | Announced by PADL Software. |
| Vulnerable: |
Padl Software nss_ldap Build 85 Padl Software nss_ldap Build 194 Padl Software nss_ldap Build 192 Padl Software nss_ldap Build 191 Padl Software nss_ldap Build 190 Padl Software nss_ldap Build 189 Padl Software nss_ldap Build 188 Padl Software nss_ldap Build 187 Padl Software nss_ldap Build 186 Padl Software nss_ldap Build 185.3 Padl Software nss_ldap Build 185.2 Padl Software nss_ldap Build 185.1 Padl Software nss_ldap Build 185 Padl Software nss_ldap Build 184 Padl Software nss_ldap Build 183 Padl Software nss_ldap Build 181 Padl Software nss_ldap Build 180 Padl Software nss_ldap Build 173 Padl Software nss_ldap Build 172 Padl Software nss_ldap Build 122 Padl Software nss_ldap Build 121 Padl Software nss_ldap Build 113 Padl Software nss_ldap Build 107 Padl Software nss_ldap Build 105 |
| Not Vulnerable: |
Padl Software nss_ldap Build 202 Padl Software nss_ldap Build 199 Padl Software nss_ldap Build 198 |
Discussion
PADL Software nss_ldap DNS Buffer Overflow Vulnerability
A buffer overflow condition has been reported in nss_ldap. When nss_ldap is configured without a value for the "host" parameter, it will attempt to configure itself using SRV DNS records. There is no bounds checking on data returned from the DNS server before it is copied into internal memory buffers. If it is of excessive length, a buffer overrun condition will occur. Operators of malicious DNS servers may exploit this condition to execute arbitrary code on target hosts. It may also be possible for attackers who do not control the DNS server to spoof malicious responses.
A buffer overflow condition has been reported in nss_ldap. When nss_ldap is configured without a value for the "host" parameter, it will attempt to configure itself using SRV DNS records. There is no bounds checking on data returned from the DNS server before it is copied into internal memory buffers. If it is of excessive length, a buffer overrun condition will occur. Operators of malicious DNS servers may exploit this condition to execute arbitrary code on target hosts. It may also be possible for attackers who do not control the DNS server to spoof malicious responses.
Exploit / POC
PADL Software nss_ldap DNS Buffer Overflow Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
PADL Software nss_ldap DNS Buffer Overflow Vulnerability
Solution:
Mandrake has released an advisory (MDKSA-2002:075) containing upgrades which address this issue. Mandrake users should see the attached advisory for details on obtaining fixes.
This issue is present in versions of nss_ldap prior to 198. Users are advised to upgrade to a more recent version.
Padl Software nss_ldap Build 107
Padl Software nss_ldap Build 122
Padl Software nss_ldap Build 172
Padl Software nss_ldap Build 194
Padl Software nss_ldap Build 173
Solution:
Mandrake has released an advisory (MDKSA-2002:075) containing upgrades which address this issue. Mandrake users should see the attached advisory for details on obtaining fixes.
This issue is present in versions of nss_ldap prior to 198. Users are advised to upgrade to a more recent version.
Padl Software nss_ldap Build 107
-
Mandrake nss_ldap-202-1.2mdk.i586.rpm
Mandrake Linux 8.0.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake nss_ldap-202-1.2mdk.ppc.rpm
Mandrake Linux 8.0/PPC.
http://www.mandrakesecure.net/en/ftp.php
Padl Software nss_ldap Build 122
-
Mandrake nss_ldap-202-1.2mdk.i586.rpm
Linux-Mandrake 7.2.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake nss_ldap-202-1.2mdk.i586.rpm
Mandrake Single Network Firewall 7.2.
http://www.mandrakesecure.net/en/ftp.php
Padl Software nss_ldap Build 172
-
Mandrake nss_ldap-202-1.1mdk.i586.rpm
Mandrake Linux 8.1.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake nss_ldap-202-1.1mdk.ia64.rpm
Mandrake Linux 8.1/IA64.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake pam_ldap-156-1.1mdk.i586.rpm
Mandrake Linux 8.1.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake pam_ldap-156-1.1mdk.ia64.rpm
Mandrake Linux 8.1/IA64.
http://www.mandrakesecure.net/en/ftp.php -
SCO nss_ldap-172-5.i386.rpm
ftp://ftp.sco.com/pub/updates/OpenLinux/3.1.1/Server/CSSA-2002-058.0/R PMS/nss_ldap-172-5.i386.rpm -
SCO nss_ldap-172-5.i386.rpm
ftp://ftp.sco.com/pub/updates/OpenLinux/3.1.1/Workstation/CSSA-2002-05 8.0/RPMS/nss_ldap-172-5.i386.rpm -
SCO nss_ldap-172-5.i386.rpm
ftp://ftp.sco.com/pub/updates/OpenLinux/3.1/Server/CSSA-2002-058.0/RPM S/nss_ldap-172-5.i386.rpm -
SCO nss_ldap-172-5.i386.rpm
ftp://ftp.sco.com/pub/updates/OpenLinux/3.1/Workstation/CSSA-2002-058. 0/RPMS/nss_ldap-172-5.i386.rpm
Padl Software nss_ldap Build 194
-
Mandrake nss_ldap-202-1.1mdk.i586.rpm
Mandrake Linux 9.0.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake pam_ldap-156-1.1mdk.i586.rpm
Mandrake Linux 9.0.
http://www.mandrakesecure.net/en/ftp.php
Padl Software nss_ldap Build 173
-
Mandrake nss_ldap-202-1.1mdk.i586.rpm
Mandrake Linux 8.2.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake nss_ldap-202-1.1mdk.ppc.rpm
Mandrake Linux 8.2/PPC.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake pam_ldap-156-1.1mdk.i586.rpm
Mandrake Linux 8.2.
http://www.mandrakesecure.net/en/ftp.php -
Mandrake pam_ldap-156-1.1mdk.ppc.rpm
Mandrake Linux 8.2/PPC.
http://www.mandrakesecure.net/en/ftp.php