First published: Wed Oct 13 2010(Updated: )
cURL did not properly cut off directory parts from user provided file name to be downloaded on operating systems, where backslashes are used to separate directories and file names. This could allow remote servers to create or overwrite files via a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a certain file in a user's home directory. Different vulnerability than <a href="https://access.redhat.com/security/cve/CVE-2010-2251">CVE-2010-2251</a>, <a href="https://access.redhat.com/security/cve/CVE-2010-2252">CVE-2010-2252</a> and <a href="https://access.redhat.com/security/cve/CVE-2010-2253">CVE-2010-2253</a>. Note: As already mentioned in [2]. This flaw only affected those operating systems, where backslash is used to separate directories and file names, thus Microsoft Windows, Novell Netware, MSDOS, OS/2 and Symbian to mention some of them. References: [1] <a href="http://curl.haxx.se/docs/security.html">http://curl.haxx.se/docs/security.html</a> [2] <a href="http://curl.haxx.se/docs/adv_20101013.html">http://curl.haxx.se/docs/adv_20101013.html</a> Upstream patch: [3] <a href="http://curl.haxx.se/curl-content-disposition.patch">http://curl.haxx.se/curl-content-disposition.patch</a> Credit: Upstream acknowledges Dan Fandrich as the original reporter.
Affected Software | Affected Version | How to fix |
---|---|---|
Curl |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-642642 is considered a medium risk due to potential file manipulation vulnerabilities.
To fix REDHAT-BUG-642642, update to the latest version of cURL where this vulnerability has been addressed.
The potential impacts of REDHAT-BUG-642642 include unauthorized file creation or overwriting on the system by a remote server.
Versions of cURL prior to the security fix for this vulnerability are affected by REDHAT-BUG-642642.
Users of cURL on operating systems that use backslashes for directory separation are affected by REDHAT-BUG-642642.