#####################################################################################
Application: IrfanView 4.33 Format PlugIn TTF File Parsing Stack Based Overflow
Plateform: Windows
Exploitation: Remote code execution
Secunia Number: SA49319
{PRL}: 2012-11
Author: Francis Provencher (Protek Research Lab's)
Website: http://www.protekresearchlab.com/
Twitter: @ProtekResearch
#####################################################################################
1) Introduction
2) Timeline
3) Technical details
4) PoC
#####################################################################################
===============
1) Introduction
===============
IrfanView is a freeware/shareware image viewer for Microsoft Windows that can view, edit, and convert image files
and play video/audio files. It is noted for its small size, speed, ease of use, and ability to handle a wide variety of graphic
file formats, and has some image creation and painting capabilities. The software was first released in 1996.
IrfanView is free for non-commercial use; commercial use requires paid registration.
#####################################################################################
============
2) Timeline
============
2012-05-27 - Vulnerability reported to secunia
2012-06-01 - Coordinated public release of advisory
#####################################################################################
=================
3) Technical details
=================
The vulnerability is caused due to a boundary error when processing TTF font names
and can be exploited to cause a stack-based buffer overflow via a specially crafted font file.
#####################################################################################
=============
4) The Code
=============
http://protekresearchlab.com/exploits/PRL-2012-11.ttf
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/18972.ttfData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation