ID CVE-2016-1000031
Summary Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution Per Apache: "Having reviewed your report we have concluded that it does not represent a valid vulnerability in Apache Commons File Upload. If an application deserializes data from an untrusted source without filtering and/or validation that is an application vulnerability not a vulnerability in the library a potential attacker might leverage."
References
Vulnerable Configurations
  • cpe:2.3:a:apache:commons_fileupload:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:commons_fileupload:1.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:commons_fileupload:1.3.2:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 24-05-2019 - 17:29)
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The adversary leverages this capability to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The adversary must have the ability to inject their script into a script that is likely to be executed. If this is done, then the adversary can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. These attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well.
  • Malicious Logic Insertion
    An adversary installs or adds malicious logic (also known as malware) into a seemingly benign component of a fielded system. This logic is often hidden from the user of the system and works behind the scenes to achieve negative impacts. With the proliferation of mass digital storage and inexpensive multimedia devices, Bluetooth and 802.11 support, new attack vectors for spreading malware are emerging for things we once thought of as innocuous greeting cards, picture frames, or digital projectors. This pattern of attack focuses on systems already fielded and used in operation as opposed to systems and their components that are still under development and part of the supply chain.
  • Intent Spoof
    An adversary, through a previously installed malicious application, issues an intent directed toward a specific trusted application's component in an attempt to achieve a variety of different objectives including modification of data, information disclosure, and data injection. Components that have been unintentionally exported and made public are subject to this type of an attack. If the component blindly trusts the intent's action, then the target application performs the functionality at the adversary's request, helping the adversary achieve the desired negative technical impact.
  • WebView Exposure
    An adversary, through a malicious web page, accesses application specific functionality by leveraging interfaces registered through WebView's addJavascriptInterface API. Once an interface is registered to WebView through addJavascriptInterface, it becomes global and all pages loaded in the WebView can call this interface.
  • Data Injected During Configuration
    An attacker with access to data files and processes on a victim's system injects malicious data into critical operational data during configuration or recalibration, causing the victim's system to perform in a suboptimal manner that benefits the adversary.
  • Probe Application Memory
    An adversary obtains unauthorized information due to insecure or incomplete data deletion in a multi-tenant environment. If a cloud provider fails to completely delete storage and data from former cloud tenants' systems/resources, once these resources are allocated to new, potentially malicious tenants, the latter can probe the provided resources for sensitive information still there.
  • Modification of Windows Service Configuration
    An adversary exploits a weakness in access control to modify the execution parameters of a Windows service. Specifically, if the permissions for users and groups are not properly assigned and allow access to the registry keys used to store the configuration information for a service, then an adversary could change settings defining the path to the executable and cause a malicious binary to be executed.
  • Malicious Root Certificate
    An adversary exploits a weakness in authorization and installs a new root certificate on a compromised system. Certificates are commonly used for establishing secure TLS/SSL communications within a web browser. When a user attempts to browse a website that presents a certificate that is not trusted an error message will be displayed to warn the user of the security risk. Depending on the security settings, the browser may not allow the user to establish a connection to the website. Adversaries have used this technique to avoid security warnings prompting users when compromised systems connect over HTTPS to adversary controlled web servers that spoof legitimate websites in order to collect login credentials.
  • Install New Service
    When an operating system starts, it also starts programs called services or daemons. Adversaries may install a new service which will be executed at startup (on a Windows system, by modifying the registry). The service name may be disguised by using a name from a related operating system or benign software. Services are usually run with elevated privileges.
  • Modify Existing Service
    When an operating system starts, it also starts programs called services or daemons. Modifying existing services may break existing services or may enable services that are disabled/not commonly used.
  • Install Rootkit
    An adversary exploits a weakness in authentication to install malware that alters the functionality and information provide by targeted operating system API calls. Often referred to as rootkits, it is often used to hide the presence of programs, files, network connections, services, drivers, and other system components.
  • Replace File Extension Handlers
    When a file is opened, its file handler is checked to determine which program opens the file. File handlers are configuration properties of many operating systems. Applications can modify the file handler for a given file extension to call an arbitrary program when a file with the given extension is opened.
  • Replace Trusted Executable
    An adversary exploits weaknesses in privilege management or access control to replace a trusted executable with a malicious version and enable the execution of malware when that trusted executable is called.
  • Modify Shared File
    An adversary manipulates the files in a shared location by adding malicious programs, scripts, or exploit code to valid content. Once a user opens the shared content, the tainted content is executed.
  • Add Malicious File to Shared Webroot
    An adversaries may add malicious content to a website through the open file share and then browse to that content with a web browser to cause the server to execute the content. The malicious content will typically run under the context and permissions of the web server process, often resulting in local system or administrative privileges depending on how the web server is configured.
  • Run Software at Logon
    Operating system allows logon scripts to be run whenever a specific user or users logon to a system. If adversaries can access these scripts, they may insert additional code into the logon script. This code can allow them to maintain persistence or move laterally within an enclave because it is executed every time the affected user or users logon to a computer. Modifying logon scripts can effectively bypass workstation and enclave firewalls. Depending on the access configuration of the logon scripts, either local credentials or a remote administrative account may be necessary.
  • Disable Security Software
    An adversary exploits a weakness in access control to disable security tools so that detection does not occur. This can take the form of killing processes, deleting registry keys so that tools do not start at run time, deleting log files, or other methods.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
refmap via4
bid 93604
confirm
misc
mlist [announce] 20181105 [SECURITY] Immediately upgrade commons-fileupload to version 1.3.3 when running Struts 2.3.36 or prior
suse openSUSE-SU-2019:1399
Last major update 24-05-2019 - 17:29
Published 25-10-2016 - 14:29
Last modified 15-07-2020 - 03:15
Back to Top