CVE-2017-1000100 Information disclosure in n/a
A malicious server can trick libcurl into sending private memory contents via TFTP due to a buffer size miscalculation, requiring a patch or protocol restriction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-1000100?
CVE-2017-1000100 is a medium-severity vulnerability in Haxx Libcurl, published on 4 Oct 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
When doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file name (longer than about 515 bytes), the file name is truncated to fit within the buffer boundaries, but the buffer size is still wrongly updated to use the untruncated length. This too large value is then used in the sendto() call, making curl attempt to send more data than what is actually put into the buffer. The endto() function will then read beyond the end of the heap based buffer. A malicious HTTP(S) server could redirect a vulnerable libcurl-using client to a crafted TFTP URL (if the client hasn't restricted which protocols it allows redirects to) and trick it to send private memory contents to a remote server over UDP. Limit curl's redirect protocols with --proto-redir and libcurl's with CURLOPT_REDIR_PROTOCOLS.
Weakness: CWE-200
Which versions are affected by CVE-2017-1000100?
It affects 1 product.
Linux distribution packages (1)
curl SUSE:Studio Onsite 1.3 | All versions | 7.19.7-1.20.53.3.1 |
Products include Haxx Libcurl.
How do I fix CVE-2017-1000100?
Apply the vendor's patch.
Is CVE-2017-1000100 being exploited?
There is no known exploitation of CVE-2017-1000100 in the wild and no public exploit code.
Other vulnerabilities in Haxx Libcurl
Sources
Also known as ALPINE-CVE-2017-1000100, CLEANSTART-2026-UR08867, CURL-CVE-2017-1000100, DEBIAN-CVE-2017-1000100, DLA-1062-1, GHSA-86r8-52rx-6jcr and 2 more.