oss-sec mailing list archives
Re: CVE Request -- cURL / mingw32-cURL -- Did not strip directory parts separated by backslashes, when downloading files
From: Jan Lieskovsky <jlieskov () redhat com>
Date: Wed, 13 Oct 2010 20:27:23 +0200
Hi Steve, just small correction. As stated in: [1] https://bugzilla.redhat.com/show_bug.cgi?id=642642#c4 the mingw32-curl package is not affected by this issue, as the error is only present in curl command line tool and that tool is not bundled in the final compiled form of mingw32-curl rpm. So the CVE request applies really only to native systems, using backslash as directory entries delimiter / separator. Thanks && Regards, Jan. -- Jan iankko Lieskovsky / Red Hat Security Response Team Jan Lieskovsky wrote:
Hello Steve, vendors,cURL upstream has released new curl / libcurl v7.21.2 addressing one security flaw, specific for operating systems, where backslashes are used to separate directories fromfile names. More details follow: 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 CVE-2010-2251, CVE-2010-2252 and CVE-2010-2253. 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] http://curl.haxx.se/docs/security.html [2] http://curl.haxx.se/docs/adv_20101013.html Upstream patch: [3] http://curl.haxx.se/curl-content-disposition.patch Credit: Upstream acknowledges Dan Fandrich as the original reporter. Red Hat Bugzilla tracking system record: [4] https://bugzilla.redhat.com/show_bug.cgi?id=642642 Could you please allocate a CVE id for this issue? Thanks && Regards, Jan. -- Jan iankko Lieskovsky / Red Hat Security Response Team
Current thread:
- CVE Request -- cURL / mingw32-cURL -- Did not strip directory parts separated by backslashes, when downloading files Jan Lieskovsky (Oct 13)
- Re: CVE Request -- cURL / mingw32-cURL -- Did not strip directory parts separated by backslashes, when downloading files Jan Lieskovsky (Oct 13)
- Re: CVE Request -- cURL / mingw32-cURL -- Did not strip directory parts separated by backslashes, when downloading files Josh Bressers (Oct 13)