Advisory Details

September 23rd, 2024

(0Day) FastStone Image Viewer GIF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

ZDI-24-1275
ZDI-CAN-25145

CVE ID CVE-2024-9114
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS FastStone
AFFECTED PRODUCTS Image Viewer
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of FastStone Image Viewer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of GIF files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

08/22/24 – ZDI requested the vendor’s PSIRT contacts
08/30/24 – ZDI asked for updates
09/11/24 – ZDI notified the vendor of the intention to publish the case as 0-day advisory

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application


DISCLOSURE TIMELINE
  • 2024-09-12 - Vulnerability reported to vendor
  • 2024-09-23 - Coordinated public release of advisory
  • 2024-09-23 - Advisory Updated
CREDIT Zeze with TeamT5
BACK TO ADVISORIES