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

medium Nessus Plugin ID 71025

Synopsis

The remote Debian host is missing a security-related update.

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.

Solution

Upgrade the libhttp-body-perl packages.

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

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721634

https://packages.debian.org/source/wheezy/libhttp-body-perl

https://www.debian.org/security/2013/dsa-2801

Plugin Details

Severity: Medium

ID: 71025

File Name: debian_DSA-2801.nasl

Version: 1.7

Type: local

Agent: unix

Published: 11/22/2013

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libhttp-body-perl, cpe:/o:debian:debian_linux:7.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 11/21/2013

Reference Information

CVE: CVE-2013-4407

DSA: 2801