Debian DSA-2827-1 : libcommons-fileupload-java - arbitrary file upload via deserialization

high Nessus Plugin ID 71618
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

It was discovered that Apache Commons FileUpload, a package to make it easy to add robust, high-performance, file upload capability to servlets and web applications, incorrectly handled file names with NULL bytes in serialized instances. A remote attacker able to supply a serialized instance of the DiskFileItem class, which will be deserialized on a server, could use this flaw to write arbitrary content to any location on the server that is accessible to the user running the application server process.

Solution

Upgrade the libcommons-fileupload-java packages.

For the oldstable distribution (squeeze), this problem has been fixed in version 1.2.2-1+deb6u1.

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

See Also

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

https://packages.debian.org/source/squeeze/libcommons-fileupload-java

https://packages.debian.org/source/wheezy/libcommons-fileupload-java

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

https://www.tenable.com/security/research/tra-2016-23

Plugin Details

Severity: High

ID: 71618

File Name: debian_DSA-2827.nasl

Version: 1.7

Type: local

Agent: unix

Published: 12/24/2013

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libcommons-fileupload-java, cpe:/o:debian:debian_linux:6.0, cpe:/o:debian:debian_linux:7.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/24/2013

Reference Information

CVE: CVE-2013-2186

BID: 63174

DSA: 2827

TRA: TRA-2016-23