DSA-2801-1 libhttp-body-perl -- design error

Related Vulnerabilities: CVE-2013-4407  

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.

Debian Security Advisory

DSA-2801-1 libhttp-body-perl -- design error

Date Reported:
21 Nov 2013
Affected Packages:
libhttp-body-perl
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 721634.
In Mitre's CVE dictionary: CVE-2013-4407.
More information:

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.