#####################################################################################
Application: ACDSee PRO CUR Image Processing Heap Overflow
Platforms: Windows
Secunia: SA48804
{PRL}: 2012-19
Author: Francis Provencher (Protek Research Lab's)
Website: http://www.protekresearchlab.com/
Twitter: @ProtekResearch
#####################################################################################
1) Introduction
2) Report Timeline
3) Technical details
4) The Code
#####################################################################################
===============
1) Introduction
===============
ACDSee is a shareware image organizer, viewer, and editor software for Microsoft
Windows and Mac OS X 10.5 and higher developed by ACD Systems. It was originally
distributed as a 16-bit application for Windows 3.0 and later supplanted by a 32-bit
version for Windows 95.
(http://en.wikipedia.org/wiki/ACDSee)
#####################################################################################
============================
2) Report Timeline
============================
2012-03-13 Vulnerability reported to Secunia
2012-06-21 Vendor disclose patch
#####################################################################################
============================
3) Technical details
============================
Insufficient validation in ID_ICO.apl when copying colours from cursors in .CUR
files can be exploited to cause a heap-based buffer overflow via a .CUR file
containing a specially crafted "ColorsImportant" field value.
The vulnerabilities are confirmed in version 5.1 (Build 137). Other versions may also be affected.
#####################################################################################
===========
4) The Code
===========
http://protekresearchlab.com/exploits/PRL-2012-19.cur
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/19334.cur