SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   W32Dasm Vendors:   URSoftware
W32Dasm Buffer Overflow in Processing Function Names May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012997
SecurityTracker URL:  http://securitytracker.com/id/1012997
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 25 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 8.93 and prior versions; it is not known if 8.94 is affected
Description:   Luigi Auriemma reported a buffer overflow vulnerability in W32Dasm. A remote user may be able to cause a target user to execute arbitrary code.

A remote user can create a specially crafted file that, when disassembled by the target user, will trigger an overflow and execute arbitrary code. If the file contains an imported or exported function with a function name longer than 256 bytes, the buffer overflow may occur.

A demonstration exploit is available at:

http://aluigi.altervista.org/poc/w32dasmbof.disasm_me

Impact:   A remote user can create a file that, when processed by the target user, will execute arbitrary code with the privileges of the target user.
Solution:   No solution was available at the time of this entry. The software is no longer supported.
Cause:   Boundary error
Underlying OS:  Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Local buffer-overflow in W32Dasm 8.93



#######################################################################

                             Luigi Auriemma

Application:  W32Dasm
              (was http://www.expage.com/page/w32dasm)
Versions:     <= 8.93 (8.94???)
Platforms:    Windows
Bug:          buffer-overflow
Exploitation: local
Date:         24 Jan 2005
Author:       Luigi Auriemma
              e-mail: aluigi@autistici.org
              web:    http://aluigi.altervista.org


#######################################################################


1) Introduction
2) Bug
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


W32Dasm is a cool and famous disassembler/debugger developed by URSoft.
It has tons of functions and, also if it is no longer supported by long
time, it is still widely used by a lot of people.


#######################################################################

======
2) Bug
======


The program uses the wsprintf() function to copy the name of the
imported/exported functions of the analyzed file into a buffer of only
256 bytes, with the possibility for an attacker to execute malicious
code.


#######################################################################

===========
3) The Code
===========


Exploiting the bug is very simple, all you need is to get an executable
and searching for the name of an imported or exported function to
modify.

I have written a very simple proof-of-concept that overwrites the
return address with 0xdeadc0de:

  http://aluigi.altervista.org/poc/w32dasmbof.disasm_me


#######################################################################

======
4) Fix
======


No fix.
This program is no longer supported.


#######################################################################


--- 
Luigi Auriemma
http://aluigi.altervista.org
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC