Summary
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.
Solution
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.
Insight
HTTP::Body is a Perl module for manipulating HTTP POST request data in an object-oriented way, providing support for application/x-www-form-urlencoded application/octet-stream, and multipart/form-data.
Affected
libhttp-body-perl on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References
Updated on 2015-03-25
Severity
Classification
-
CVE CVE-2013-4407 -
CVSS Base Score: 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Related Vulnerabilities