FastStone Image Viewer <= 7.5 Multiple Vulnerabilities

critical Nessus Plugin ID 208258

Synopsis

An image viewing application installed on the remote Windows host is affected by multiple vulnerabilities.

Description

The version of FastStone Image Viewer installed on the remote Windows host is prior to or equal to 7.5. It is, therefore, affected by multiple vulnerabilities:

- Unsafe Parsing of a PNG tRNS chunk in FastStone Image Viewer through 7.5 results in a stack buffer overflow.
(CVE-2022-36947)

- A user mode write access violation at 0x00402d7d, triggered when a user opens or views a malformed CUR file that is mishandled by FSViewer.exe. Attackers could exploit this issue for a Denial of Service (DoS) or possibly to achieve code execution. (CVE-2021-26237)

- A Stack-based Buffer Overflow at 0x005BDF49, affecting the CUR file parsing functionality (BITMAPINFOHEADER Structure, ‘BitCount‘ file format field), which will end up corrupting the Structure Exception Handler (SEH). Attackers could exploit this issue to achieve code execution when a user opens or views a malformed/specially crafted CUR file. (CVE-2021-26236)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to FastStone Image Viewer version 7.6 or later.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2022-36947

https://nvd.nist.gov/vuln/detail/CVE-2021-26237

https://voidsec.com/advisories/cve-2021-26236/

https://voidsec.com/advisories/cve-2021-26233/

Plugin Details

Severity: Critical

ID: 208258

File Name: faststone_image_viewer_7_5.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 10/8/2024

Updated: 10/9/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-26237

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2022-36947

Vulnerability Information

CPE: cpe:/a:faststone:image_viewer

Required KB Items: SMB/Registry/Enumerated, installed_sw/FastStone Image Viewer

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/31/2022

Vulnerability Publication Date: 8/18/2022

Reference Information

CVE: CVE-2021-26233, CVE-2021-26236, CVE-2021-26237, CVE-2022-36947