cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
BID:17154
Info
cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
| Bugtraq ID: | 17154 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2006-1061 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Mar 20 2006 12:00AM |
| Updated: | Jul 28 2006 11:32PM |
| Credit: | Ulf Harnhammar Project is credited with the discovery of this vulnerability. |
| Vulnerable: |
Trustix Secure Linux 3.0 Trustix Secure Linux 2.2 Redhat Fedora Core5 OpenPKG OpenPKG 2.5 OpenPKG OpenPKG 2.0 OpenPKG OpenPKG Current Gentoo Linux Daniel Stenberg curl 7.15.2 Daniel Stenberg curl 7.15.1 Daniel Stenberg curl 7.15 |
| Not Vulnerable: |
Daniel Stenberg curl 7.15.3 Daniel Stenberg curl 7.14.1 Daniel Stenberg curl 7.14 Daniel Stenberg curl 7.13.2 Daniel Stenberg curl 7.13.1 Daniel Stenberg curl 7.13 Daniel Stenberg curl 7.13 Daniel Stenberg curl 7.12.3 Daniel Stenberg curl 7.12.2 Daniel Stenberg curl 7.12.1 Daniel Stenberg curl 7.12 Daniel Stenberg curl 7.11.2 Daniel Stenberg curl 7.11.1 Daniel Stenberg curl 7.11 Daniel Stenberg curl 7.10.8 Daniel Stenberg curl 7.10.7 Daniel Stenberg curl 7.10.6 Daniel Stenberg curl 7.10.5 Daniel Stenberg curl 7.10.4 Daniel Stenberg curl 7.10.3 Daniel Stenberg curl 7.10.2 Daniel Stenberg curl 7.10.1 Daniel Stenberg curl 7.10 |
Discussion
cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
cURL and libcURL are prone to a buffer-overflow vulnerability. This issue is due to a failure in the library to perform proper bounds checks on user-supplied data before using it in a finite-sized buffer.
The issue occurs when the URL parser handles an excessively long URL string with a TFTP protocol prefix 'tftp://'.
An attacker can exploit this issue to crash the affected library, effectively denying service. Arbitrary code execution may also be possible, which may facilitate a compromise of the underlying system.
cURL and libcURL are prone to a buffer-overflow vulnerability. This issue is due to a failure in the library to perform proper bounds checks on user-supplied data before using it in a finite-sized buffer.
The issue occurs when the URL parser handles an excessively long URL string with a TFTP protocol prefix 'tftp://'.
An attacker can exploit this issue to crash the affected library, effectively denying service. Arbitrary code execution may also be possible, which may facilitate a compromise of the underlying system.
Exploit / POC
cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]
Currently we are not aware of any exploits for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]
Solution / Fix
cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
Solution:
Please see the referenced advisories for more information.
Daniel Stenberg curl 7.15
Daniel Stenberg curl 7.15.1
Daniel Stenberg curl 7.15.2
Solution:
Please see the referenced advisories for more information.
Daniel Stenberg curl 7.15
-
Daniel Stenberg curl-7.15.3.zip
http://curl.haxx.se/download/curl-7.15.3.zip -
RedHat Fedora curl-7.15.1-3.x86_64.rpm
Fedora Core 5
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/ -
RedHat Fedora curl-debuginfo-7.15.1-3.ppc.rpm
Fedora Core 5
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/ -
RedHat Fedora curl-debuginfo-7.15.1-3.x86_64.rpm
Fedora Core 5
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/ -
RedHat Fedora curl-devel-7.15.1-3.ppc.rpm
Fedora Core 5
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/ -
RedHat Fedora curl-devel-7.15.1-3.x86_64.rpm
Fedora Core 5
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/
Daniel Stenberg curl 7.15.1
-
Daniel Stenberg curl-7.15.3.zip
http://curl.haxx.se/download/curl-7.15.3.zip -
RedHat Fedora curl-debuginfo-7.15.1-3.i386.rpm
Fedcora Core 5:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/ -
RedHat Fedora curl-devel-7.15.1-3.i386.rpm
Fedcora Core 5:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/
Daniel Stenberg curl 7.15.2
-
Daniel Stenberg curl-7.15.3.zip
http://curl.haxx.se/download/curl-7.15.3.zip
References
cURL / libcURL TFTP URL Parser Buffer Overflow Vulnerability
References:
References:
- Security Advisory March 20 2006 (Daniel Stenberg)