cURL 7.12.1 NTLM Authentication http_ntlm.c curl_input_ntlm stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in cURL 7.12.1. The impacted element is the function curl_input_ntlm of the file http_ntlm.c of the component NTLM Authentication. Such manipulation leads to stack-based overflow.
This vulnerability is uniquely identified as CVE-2005-0490. No exploit exists.
The affected component should be upgraded.
Details
A vulnerability, which was classified as critical, has been found in cURL 7.12.1 (Network Utility Software). Affected by this issue is the function curl_input_ntlm of the file http_ntlm.c of the component NTLM Authentication. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability. CVE summarizes:
Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.
The bug was discovered 12/21/2004. The weakness was disclosed 05/02/2005 by infamous41md (Website). The advisory is available at gentoo.org. This vulnerability is handled as CVE-2005-0490 since 02/21/2005. The exploitation is known to be difficult. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 85 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 17345 (GLSA-200503-20 : curl: NTLM response buffer overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117954 (CentOS Security Update for cURL (CESA-2005:340)).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (19423), Tenable (17345), SecurityFocus (BID 12616†), OSVDB (14033†) and Vulnerability Center (SBV-7235†). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 17345
Nessus Name: GLSA-200503-20 : curl: NTLM response buffer overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 52171
OpenVAS Name: FreeBSD Ports: curl
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
12/21/2004 🔍02/21/2005 🔍
02/21/2005 🔍
02/22/2005 🔍
03/08/2005 🔍
03/16/2005 🔍
03/17/2005 🔍
05/02/2005 🔍
05/02/2005 🔍
03/10/2015 🔍
07/05/2025 🔍
Sources
Advisory: gentoo.orgResearcher: infamous41md
Status: Confirmed
CVE: CVE-2005-0490 (🔍)
GCVE (CVE): GCVE-0-2005-0490
GCVE (VulDB): GCVE-100-24482
OVAL: 🔍
X-Force: 19423
SecurityFocus: 12616 - cURL / libcURL Kerberos Authentication Buffer Overflow Vulnerability
OSVDB: 14033 - cURL / libcURL NTLM Authentication Curl_input_ntlm() Function Overflow
Vulnerability Center: 7235 - Stack-Based Buffer Overflow in libcURL and cURL NTLM and Kerberos Authentication, Medium
Entry
Created: 03/10/2015 23:05Updated: 07/05/2025 13:55
Changes: 03/10/2015 23:05 (74), 05/30/2019 16:12 (5), 07/05/2025 13:55 (20)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.