libhttp-body-perl -- design error

2013-11-21T00:00:00
ID DSA-2801
Type debian
Reporter Debian
Modified 2013-11-21T00:00:00

Description

Jonathan Dolle reported a design error in HTTP::Body, a Perl module for processing data from HTTP POST requests. The HTTP body multipart parser creates temporary files which preserve the suffix of the uploaded file. An attacker able to upload files to a service that uses HTTP::Body::Multipart could potentially execute commands on the server if these temporary filenames are used in subsequent commands without further checks.

This update restricts the possible suffixes used for the created temporary files.

The oldstable distribution (squeeze) is not affected by this problem.

For the stable distribution (wheezy), this problem has been fixed in version 1.11-1+deb7u1.

For the testing distribution (jessie), this problem has been fixed in version 1.17-2.

For the unstable distribution (sid), this problem has been fixed in version 1.17-2.

We recommend that you upgrade your libhttp-body-perl packages.