Vulnerabilities > CVE-2018-17936 - Unrestricted Upload of File with Dangerous Type vulnerability in Nuuo CMS

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
nuuo
CWE-434
critical
metasploit

Summary

NUUO CMS All versions 3.3 and prior the application allows the upload of arbitrary files that can modify or overwrite configuration files to the server, which could allow remote code execution.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by the authorization framework, whose job it is to map ACLs to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application or can run queries for data that he is otherwise not supposed to.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.

Metasploit

descriptionThe COMMITCONFIG verb is used by a CMS client to upload and modify the configuration of the CMS Server. The vulnerability is in the "FileName" parameter, which accepts directory traversal (..\\..\\) characters. Therefore, this function can be abused to overwrite any files in the installation drive of CMS Server. This vulnerability is exploitable in CMS versions up to and including v2.4. This module will either use a provided session number (which can be guessed with an auxiliary module) or attempt to login using a provided username and password - it will also try the default credentials if nothing is provided. This module will overwrite the LicenseTool.dll file in the CMS Server installation. If the module fails to restore LicenseTool.dll then the installation will be corrupted and NCS Server will not execute successfully.
idMSF:EXPLOIT/WINDOWS/NUUO/NUUO_CMS_FU
last seen2020-06-14
modified2019-08-02
published2019-01-21
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/nuuo/nuuo_cms_fu.rb
titleNuuo Central Management Server Authenticated Arbitrary File Upload

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/151781/nuuo_cms_fu.rb.txt
idPACKETSTORM:151781
last seen2019-02-21
published2019-02-20
reporterPedro Ribeiro
sourcehttps://packetstormsecurity.com/files/151781/Nuuo-Central-Management-Server-2.4-Authenticated-Arbitrary-File-Upload.html
titleNuuo Central Management Server 2.4 Authenticated Arbitrary File Upload