CVE Vulnerabilities

CVE-2016-1000031

Improper Access Control

Published: Oct 25, 2016 | Modified: Nov 07, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
6.8 MODERATE
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
7.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
NEGLIGIBLE

Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution

Weakness

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

Name Vendor Start Version End Version
Commons_fileupload Apache * 1.3.2 (including)
Libcommons-fileupload-java Ubuntu devel *
Libcommons-fileupload-java Ubuntu esm-apps/xenial *
Libcommons-fileupload-java Ubuntu precise *
Libcommons-fileupload-java Ubuntu trusty *
Libcommons-fileupload-java Ubuntu xenial *
Libcommons-fileupload-java Ubuntu yakkety *
Tomcat6 Ubuntu esm-apps/xenial *
Tomcat6 Ubuntu esm-infra-legacy/trusty *
Tomcat6 Ubuntu precise *
Tomcat6 Ubuntu trusty *
Tomcat6 Ubuntu trusty/esm *
Tomcat6 Ubuntu xenial *
Tomcat7 Ubuntu devel *
Tomcat7 Ubuntu esm-apps/xenial *
Tomcat7 Ubuntu esm-infra-legacy/trusty *
Tomcat7 Ubuntu precise *
Tomcat7 Ubuntu trusty *
Tomcat7 Ubuntu trusty/esm *
Tomcat7 Ubuntu xenial *
Tomcat7 Ubuntu yakkety *
Tomcat8 Ubuntu devel *
Tomcat8 Ubuntu esm-infra/xenial *
Tomcat8 Ubuntu xenial *
Tomcat8 Ubuntu yakkety *

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References