Secunia Research Advisory

IrfanView Palette File Importing Buffer Overflow Vulnerability


====================================================================== 

                     Secunia Research 16/10/2007

  - IrfanView Palette File Importing Buffer Overflow Vulnerability -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

IrfanView 3.99 and 4.00

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Moderately critical
Impact: System access
Where:  From remote

====================================================================== 
3) Vendor's Description of Software 

"IrfanView is a very fast, small, compact and innovative FREEWARE
(for non-commercial use) graphic viewer for Windows 9x/ME/NT/2000/
XP/2003/Vista. It is trying to be simple for beginners and powerful
for professionals.".

Product Link:
http://www.irfanview.com/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in IrfanView, which
can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a boundary error when importing
palette (*.pal) files. This can be exploited to cause a stack-based
buffer overflow by tricking a user into importing a specially crafted
palette (*.pal) file.

Successful exploitation allows the execution of arbitrary code.

====================================================================== 
5) Solution 

Update to version 4.10.
http://www.irfanview.com/main_download_engl.htm

====================================================================== 
6) Time Table 

28/08/2007 - Vendor notified.
28/08/2007 - Vendor response.
16/10/2007 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Stefan Cornelius, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2007-4343 for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

https://www.flexera.com/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general.

Secunia regularly hires new skilled team members. Check the URL below to
see currently vacant positions:

https://www.flexera.com/company/careers

Secunia offers a FREE mailing list called Secunia Security Advisories:

https://www.flexera.com/secunia_security_advisories/ 

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
https://www.flexera.com/about-us/secunia-research/advisories/sr-2007-71.html

Complete list of vulnerability reports published by Secunia Research:
https://www.flexera.com/about-us/secunia-research/advisories/

======================================================================