Full Disclosure mailing list archives

UltraEdit Text Editor version 16.10.0.1036 <= Insecure DLL Hijacking Vulnerability (dwmapi.dll)


From: YGN Ethical Hacker Group <lists () yehg net>
Date: Mon, 13 Sep 2010 04:27:52 +0800

1. OVERVIEW

The UltraEdit Text Editor application is vulnerable to Insecure DLL
Hijacking Vulnerability. Similar terms that describe this
vulnerability have been come up with Remote Binary Planting, and
Insecure DLL Loading/Injection/Hijacking/Preloading.


2. PRODUCT DESCRIPTION

Replacing Notepad or looking for a powerful text editor? UltraEdit is
what you're looking for. Versatile and easy to use, UltraEdit is the
ideal text, hex, XML, HTML, PHP, Java, Javascript, Perl, and
programmer's editor. With over 2,000,000 users worldwide, UltraEdit is
the #1 selling, most powerful, value priced text editor available!


3. VULNERABILITY DESCRIPTION

The UltraEdit Text Editor application passes an insufficiently
qualified path in loading its external library -
"dwmapi.dll" when a user opens its associated file with extensions -
bin, cpp, css, c, dat, hpp, html, h, ini, java, log, mak, php, prj,
txt, xml .


4. VERSIONS AFFECTED

16.10.0.1036 and probably lower versions


5. PROOF-OF-CONCEPT/EXPLOIT

http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/ultraedit/poc/movie/ultraedit-16.10.0.1036_dl-hijacking.mp4
http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/ultraedit/poc/ultraedit-16.10.0.1036_dl-hijacking-poc.zip

Tested Platform: Windows XP Service Pack 3 (Fresh Windows)


6. IMPACT

Attackers can trigger a successful exploit against a victim user in a
number of ways such as placing a malicious external
library file made as hidden attribute and a seemingly interesting file
in network shares, usb drives, file sharing networks,
social networks, ..etc  


7. SOLUTION

Fixed version from the vendor has not been released yet.
However, it is suggested that the following workarounds be deployed by
users to protect increasing mass exploitation of this
vulnerability class:
- Disable loading of libraries from WebDAV and remote network shares
- Disable the WebClient service
Please see workaround solution links in References section.


8. VENDOR

IDM Computer Solutions, Inc
http://www.ultraedit.com/


9. CREDIT

This vulnerability was discovered by Aung Khant, http://yehg.net, YGN
Ethical Hacker Group, Myanmar.


10. DISCLOSURE TIME-LINE

09-12-2010: notified vendor
09-13-2010: vulnerability disclosed


11. REFERENCES

Original Advisory URL:
http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/[ultraedit]_16.10.0.1036_insecure_dll_hijacking
Workaround Solution: http://support.microsoft.com/kb/2264107
Workaround Solution:
https://www.microsoft.com/technet/security/advisory/2269637.mspx#EGF
Developer Solution:
http://msdn.microsoft.com/en-us/library/ff919712%28v=VS.85%29.aspx
Unofficial DLL Hijacking List:
http://www.corelan.be:8800/index.php/2010/08/25/dll-hijacking-kb-2269637-the-unofficial-list/
Testing for DLL Hijacking:
http://core.yehg.net/lab/pr0js/view.php/when_testing_for_dll_hijacking.txt

#yehg [09-13-2010]

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: