Desereliazation of untrusted data in Apache Commons FileUpload - CVE-2016-1000031

 

Desereliazation of untrusted data in Apache Commons FileUpload - CVE-2016-1000031

Published: May 1, 2018 / Updated: July 19, 2021


Vulnerability identifier: #VU12312
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-1000031
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Commons FileUpload

Detailed vulnerability description

The vulnerability allows a remote unauthenticated attacker to execute arbitrary code on the target system.

The weakness exists in DiskFileItem class of the FileUpload library due to deserialization of untrusted data. A remote attacker can execute arbitrary code under the context of the current process.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2016-1000031

Install update from vendor's website.

Sources