Rapid7 Vulnerability & Exploit Database

Novell ZENworks Configuration Management Arbitrary File Upload

Back to Search

Novell ZENworks Configuration Management Arbitrary File Upload

Disclosed
04/07/2015
Created
05/30/2018

Description

This module exploits a file upload vulnerability in Novell ZENworks Configuration Management (ZCM, which is part of the ZENworks Suite). The vulnerability exists in the UploadServlet which accepts unauthenticated file uploads and does not check the "uid" parameter for directory traversal characters. This allows an attacker to write anywhere in the file system, and can be abused to deploy a WAR file in the Tomcat webapps directory. ZCM up to (and including) 11.3.1 is vulnerable to this attack. This module has been tested successfully with ZCM 11.3.1 on Windows and Linux. Note that this is a similar vulnerability to ZDI-10-078 / OSVDB-63412 which also has a Metasploit exploit, but it abuses a different parameter of the same servlet.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.com>

Platform

Java

Architectures

java

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/zenworks_configuration_management_upload
msf exploit(zenworks_configuration_management_upload) > show targets
    ...targets...
msf exploit(zenworks_configuration_management_upload) > set TARGET < target-id >
msf exploit(zenworks_configuration_management_upload) > show options
    ...show and set options...
msf exploit(zenworks_configuration_management_upload) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;