Secunia Logo
Netsikker nu! 2008
 
cURL/libcURL NTLM and Kerberos Authentication Buffer Overflows
Secunia Advisory: SA14364
Release Date: 2005-02-22
Popularity: 8,723 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Partial Fix

Software:cURL 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0490


Description:
infamous41md has reported two vulnerabilities in cURL/libcURL, which can be exploited by malicious people to compromise a user's system.

1) A boundary error in the "Curl_input_ntlm()" function during NTLM authentication can be exploited to cause a stack-based buffer overflow by returning an overly long response when a user is tricked into connecting to a malicious server.

Successful exploitation allows execution of arbitrary code.

2) A boundary error in the "Curl_krb_kauth()" function during Kerberos authentication can be exploited to cause a stack-based buffer overflow by returning an overly long response when a user is tricked into connecting to a malicious server.

Successful exploitation allows execution of arbitrary code.

The vulnerabilities have been reported in version 7.12.1. Other versions may also be affected.

Solution:
1) The vendor has issued a fix for the NTLM vulnerability:
http://cool.haxx.se/cvs.cgi/curl/lib/http_ntlm.c.diff?r1=1.36&r2=1.37

2) Recompile cURL without Kerberos support.

Provided and/or discovered by:
infamous41md

Original Advisory:
iDEFENSE:
http://www.idefense.com/application/poi/display?id=202&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=203&type=vulnerabilities


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. ArticleBeach Script "page" File Inclusion Vulnerability // 115 views
2. Zeroboard Multiple Vulnerabilities // 95 views
3. Zeroboard Two Vulnerabilities // 77 views
4. Zeroboard Multiple Script Insertion Vulnerabilities // 52 views
5. Zeroboard ".htaccess" File Upload Vulnerability // 42 views
6. Symantec pcAnywhere CIF Files Privilege Escalation // 33 views
7. CA ARCserve Backup Multiple Vulnerabilities // 33 views
8. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 31 views
9. Built2go Real Estate Listings "event_id" SQL Injection // 29 views
10. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 28 views