Vigil@nce - Perl HTTP-Body-Multipart: command injection
October 2013 by Vigil@nce
This bulletin was written by Vigil@nce : http://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can use a special filename, which is not filtered by
Perl HTTP::Body::Multipart, in order to execute shell commands.
Impacted products: Unix (platform)
Severity: 2/4
Creation date: 08/10/2013
DESCRIPTION OF THE VULNERABILITY
The Perl HTTP::Body::Multipart module decodes HTTP replies
containing several MIME parts, which are for example files.
The header of the MIME part can indicate the name of the file
contained in the block. However, HTTP::Body::Multipart does not
filter characters contained in this filename. If the filename is
directly used in a shell command, it can force the execution of
sub-commands.
An attacker can therefore use a special filename, which is not
filtered by Perl HTTP::Body::Multipart, in order to execute shell
commands.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
http://vigilance.fr/vulnerability/Perl-HTTP-Body-Multipart-command-injection-13543