Microsoft Windows CFileFind Class "FindFile()" Buffer Overflow
Secunia Advisory: SA26800
Release Date: 2007-09-17
Last Update: 2007-09-21
Popularity: 15,174 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Unpatched

OS:Microsoft Windows XP Professional

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4916


Description:
Jonathan Sarba has discovered a vulnerability in Microsoft Windows, which potentially can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error in the "FindFile()" function of the CFileFind class in mfc42.dll and mfc42u.dll. This can be exploited to cause a heap-based buffer overflow by passing an overly long argument to the affected function.

Successful exploitation may allow execution of arbitrary code.

The vulnerability is confirmed on a fully-patched Windows XP SP2 including mfc42.dll version 6.2.4131.0 and mfc42u.dll version 6.2.8071.0.

The following products are currently known to have vectors allowing exploitation:
* HP All-in-One Series Web Release software/driver installer version 2.1.0
* HP Photo & Imaging Gallery version 1.1

Other versions and applications using the vulnerable library may also be affected.

Solution:
Restrict access to applications allowing user-controlled input to be passed to the vulnerable function.

Applications using the vulnerable library should check the length of the user input before passing it to the affected function.

Provided and/or discovered by:
Jonathan Sarba, GoodFellas Security Research Team.

Changelog:
2007-09-19: Added CVE reference.
2007-09-21: Added link to US-CERT.

Original Advisory:
http://goodfellas.shellcode.com.ar/own/VULWKU200706142

Other References:
US-CERT VU#611008:
http://www.kb.cert.org/vuls/id/611008


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft Word Malformed Object Pointer Vulnerability // 47 views
2. Zeroboard Two Vulnerabilities // 41 views
3. Apple QuickTime Multiple Vulnerabilities // 39 views
4. Subdreamer Light Global Variables SQL Injection Vulnerability // 38 views
5. Opera Multiple Vulnerabilities // 35 views
6. Internet Explorer DHTML Edit ActiveX Control Cross-Site Scripting // 31 views
7. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 30 views
8. Adobe Flash Player Multiple Vulnerabilities // 26 views
9. Zeroboard Multiple Script Insertion Vulnerabilities // 25 views
10. Zeroboard Multiple Vulnerabilities // 25 views