Information disclosure in cURL



Published: 2017-08-10 | Updated: 2017-08-15
Severity Low
Patch available YES
Number of vulnerabilities 3
CVE ID CVE-2017-1000099
CVE-2017-1000101
CVE-2017-1000100
CWE ID CWE-125
CWE-601
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libcurl
Universal components / Libraries / Libraries used by multiple products

cURL
Client/Desktop applications / Other client software

Vendor curl.haxx.se

Security Advisory

1) Out-of-bounds read

Severity: Low

CVSSv3: 2.9 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1000099

CWE-ID: CWE-125 - Out-of-bounds Read

Description

The vulnerability allows a local attacker to obtain potentially sensitive information.

The weakness exists due to out-of bounds read. A local attacker can load a specially crafted 'file://' URL to cause the curl application to return data from system memory.

Successful exploitation of the vulnerability results in information disclosure.

Mitigation

Update to version 7.55.0.

Vulnerable software versions

libcurl: 7.10.6, 7.11.1, 7.12.1, 7.12.2, 7.12.3, 7.14.0, 7.14.1, 7.15.1, 7.15.3, 7.15.5, 7.16.1, 7.16.2, 7.17.1, 7.18.2, 7.19.2, 7.19.6, 7.19.7, 7.20.1, 7.21.1, 7.21.2, 7.21.4, 7.21.7, 7.22.0, 7.23.0, 7.24.0, 7.25.0, 7.26.0, 7.28.1, 7.29.0, 7.30.0, 7.31.0, 7.32.0, 7.35.0, 7.36.0, 7.37.0, 7.40.0, 7.40.1, 7.43.0, 7.44.0, 7.45.0, 7.46.0, 7.47.0, 7.48.0, 7.49.1, 7.50.0, 7.50.1, 7.50.2, 7.51.0, 7.52.0, 7.52.1, 7.53.0, 7.53.1, 7.54.0

cURL: 7.1, 7.1.1, 7.2, 7.2.1, 7.3, 7.4, 7.4.1, 7.4.2, 7.5.1, 7.5.2, 7.6, 7.6.1, 7.7, 7.7.1, 7.7.2, 7.7.3, 7.8, 7.8.1, 7.9, 7.9.1, 7.9.2, 7.9.3, 7.9.4, 7.9.5, 7.9.6, 7.9.7, 7.9.8, 7.10, 7.10.1, 7.10.2, 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8, 7.11.0, 7.11.1, 7.11.2, 7.12.0, 7.12.1, 7.12.2, 7.12.3, 7.13.0, 7.13.1, 7.13.2, 7.14.0, 7.14.1, 7.15.0, 7.15.1, 7.15.2, 7.15.3, 7.15.4, 7.15.5, 7.16.0, 7.16.1, 7.16.2, 7.16.3, 7.16.4, 7.17.0, 7.17.1, 7.18.0, 7.18.1, 7.18.2, 7.19.0, 7.19.1, 7.19.2, 7.19.3, 7.19.4, 7.19.5, 7.19.6, 7.19.7, 7.20.0, 7.20.1, 7.21.0, 7.21.1, 7.21.2, 7.21.3, 7.21.4, 7.21.5, 7.21.6, 7.21.7, 7.22.0, 7.23.0, 7.23.1, 7.24.0, 7.25.0, 7.26.0, 7.27.0, 7.28.0, 7.28.1, 7.29.0, 7.30.0, 7.31.0, 7.32.0, 7.33.0, 7.34.0, 7.35.0, 7.36.0, 7.37.0, 7.37.1, 7.38.0, 7.39.0, 7.40.0, 7.41.0, 7.42.0, 7.42.1, 7.43.0, 7.44.0, 7.45.0, 7.46.0, 7.47.0, 7.48.0, 7.49.0, 7.52.0, 7.52.1, 7.53.0

cURL: 7.1, 7.1.1, 7.2, 7.2.1, 7.3, 7.4, 7.4.1, 7.4.2, 7.5, 7.5.1, 7.5.2, 7.6, 7.6.1, 7.7, 7.7.1, 7.7.2, 7.7.3, 7.8, 7.8.1, 7.8.2, 7.9, 7.9.1, 7.9.2, 7.9.3, 7.9.4, 7.9.5, 7.9.6, 7.9.7, 7.9.8, 7.10, 7.10.1, 7.10.2, 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8, 7.11.1, 7.12, 7.12.1, 7.12.2, 7.13, 7.13.2, 7.14, 7.14.1, 7.15, 7.15.1, 7.15.3, 7.16.3, 7.16.4, 7.17, 7.18, 7.19.3, 7.20.0, 7.20.1, 7.21.0, 7.21.1, 7.21.2, 7.21.3, 7.21.4, 7.21.5, 7.21.6, 7.21.7, 7.22.0, 7.23.0, 7.23.1

CPE External links

https://curl.haxx.se/docs/adv_20170809C.html

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Out-of-bounds read

Severity: Low

CVSSv3: 2.9 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1000101

CWE-ID: CWE-125 - Out-of-bounds Read

Description

The vulnerability allows a remote attacker to redirect website visitors to external websites.

The weakness exists due to out-of-bounds read. A local user can supply a URL containing specially crafted numerical range characters to trigger a heap read error and obtain potentially sensitive information from system memory

Successful exploitation of the vulnerability results in information disclosure.

Mitigation

Update to version 7.55.0.

Vulnerable software versions

cURL: 7.34.0, 7.35.0, 7.36.0, 7.37.0, 7.37.1, 7.38.0, 7.39.0, 7.40.0, 7.41.0, 7.42.0, 7.42.1, 7.43.0, 7.44.0, 7.45.0, 7.46.0, 7.47.0, 7.48.0, 7.49.0, 7.52.0, 7.52.1, 7.53.0

CPE External links

https://curl.haxx.se/docs/adv_20170809A.html

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Open redirect

Severity: Low

CVSSv3: 4.6 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2017-1000100

CWE-ID: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')

Description

The vulnerability allows a remote attacker to redirect website visitors to external websites.

The weakness exists due to incorrect validation of redirected URL. A remote attacker can redirect the target user's curl request to a TFTP URL with a long filename to cause the target user's curl application to send portions of system memory.

Successful exploitation of the vulnerability results in information disclosure.

Mitigation

Update to version 7.55.0.

Vulnerable software versions

libcurl: 7.12.1, 7.12.3, 7.14.0, 7.14.1, 7.15.1, 7.15.3, 7.15.5, 7.16.1, 7.16.2, 7.17.1, 7.18.2, 7.19.2, 7.19.6, 7.19.7, 7.20.1, 7.21.1, 7.21.2, 7.21.4, 7.21.7, 7.22.0, 7.23.0, 7.24.0, 7.25.0, 7.26.0, 7.28.1, 7.29.0, 7.30.0, 7.31.0, 7.32.0, 7.35.0, 7.36.0, 7.37.0, 7.40.0, 7.40.1, 7.43.0, 7.44.0, 7.45.0, 7.46.0, 7.47.0, 7.48.0, 7.49.1, 7.50.0, 7.50.1, 7.50.2, 7.51.0, 7.52.0, 7.52.1, 7.53.0, 7.53.1, 7.54.0

cURL: 7.15.0, 7.15.1, 7.15.2, 7.15.3, 7.15.4, 7.15.5, 7.16.1, 7.16.2, 7.16.3, 7.16.4, 7.17.0, 7.17.1, 7.18.0, 7.18.1, 7.18.2, 7.19.0, 7.19.1, 7.19.2, 7.19.3, 7.19.4, 7.19.5, 7.19.6, 7.19.7, 7.20.0, 7.20.1, 7.21.0, 7.21.1, 7.21.2, 7.21.3, 7.21.4, 7.21.5, 7.21.6, 7.21.7, 7.22.0, 7.23.0, 7.23.1, 7.24.0, 7.25.0, 7.26.0, 7.27.0, 7.28.0, 7.28.1, 7.29.0, 7.30.0, 7.31.0, 7.32.0, 7.33.0, 7.34.0, 7.35.0, 7.36.0, 7.37.0, 7.37.1, 7.38.0, 7.39.0, 7.40.0, 7.41.0, 7.42.0, 7.42.1, 7.43.0, 7.44.0, 7.45.0, 7.46.0, 7.47.0, 7.48.0, 7.49.0, 7.52.0, 7.52.1, 7.53.0

cURL: 7.15, 7.15.1, 7.15.3, 7.16.3, 7.16.4, 7.17, 7.18, 7.19.3, 7.20.0, 7.21.0, 7.21.1, 7.21.2, 7.21.3, 7.21.4, 7.21.5, 7.21.6, 7.21.7, 7.22.0, 7.23.0, 7.23.1

CPE External links

https://curl.haxx.se/docs/adv_20170809B.html

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.