Secunia Logo
Netsikker nu! 2008
 
Microsoft Windows CFileFind Class "FindFile()" Buffer Overflow
Secunia Advisory: SA26800
Release Date: 2007-09-17
Last Update: 2007-09-21
Popularity: 15,633 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

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 342 views
Debian update for php5
Moderately // 271 views
Atarone CMS Multiple Vulnerabilities
Moderately // 296 views
Debian update for squid
Less // 296 views
SUSE update for mercurial
Moderately // 344 views
SUSE update for openssh
Less // 277 views
Fedora update for mediawiki

Solutions | More...  


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. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 31 views
2. HP-UX NFS/ONCplus Denial of Service Vulnerability // 28 views
3. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 25 views
4. Debian update for php5 // 25 views
5. Atarone CMS Multiple Vulnerabilities // 25 views
6. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 24 views
7. CMME Information Disclosure Security Issues // 22 views
8. SUSE update for openssh // 21 views
9. noName CMS "index.php" SQL Injection Vulnerabilities // 20 views
10. Debian update for squid // 20 views