p5-libwww -- possibility to remote servers to create file with a .(dot) character

2010-06-09T00:00:00
ID 3A7C5FC4-B50C-11DF-977B-ECC31DD8AD06
Type freebsd
Reporter FreeBSD
Modified 2010-06-09T00:00:00

Description

lwp-download in libwww-perl before 5.835 does not reject downloads to filenames that begin with a `.' (dot) character, which allows remote servers to create or overwrite files via a 3xx redirect to a URL with a crafted filename or a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.