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

September 23rd, 2024

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