misc/113336: ftpd doesn't handle filenames which contain curly brackets

Bruce Cran bruce at cran.org.uk
Mon Jun 4 16:10:05 UTC 2007


>Number:         113336
>Category:       misc
>Synopsis:       ftpd doesn't handle filenames which contain curly brackets
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 04 16:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD neutrino.draftnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon June 04
12:00:18 BST 2007     root at neutrino:/usr/obj/usr/src/sys/GENERIC  i386 
>Description:
When trying to fetch files from a server running the ftpd from /usr/libexec, ftpd apparently removes curly brackets from filenames before trying to read them from the filesystem.  For example:

command: TYPE I
<--- 200
Type set to I.
command: SIZE guid_{1234567890}_file.txt
<-- 550
guid_1234567890_file.txt: No such file or directory. 
>How-To-Repeat:
On the server:
/usr/libexec/ftpd -4 -D

On the client:
> ftp <hostname of server>
[login]
> get guid_{1234567890}_file.txt
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list