Advisory Details

April 2nd, 2020

(0Day) Corel PaintShop Pro PNG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-20-368
ZDI-CAN-9770

CVE ID
CVSS SCORE 7.8, (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
AFFECTED VENDORS Corel
AFFECTED PRODUCTS PaintShop Pro
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Corel PaintShop Pro. 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 processing of PNG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.

12/04/19 – ZDI reported the vulnerability to the vendor
12/04/19 – The vendor acknowledged receipt and provided ticket #
12/08/19 – The vendor confirmed the issue was being looked at
01/13/20 – ZDI requested a status update
03/25/20 – ZDI notified of the intent of publishing the case as 0-day on April 2nd

-- Mitigation:
Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the service to trusted machines. Only the clients and servers that have a legitimate procedural relationship with the service should be permitted to communicate with it. This could be accomplished in a number of ways, most notably with firewall rules/whitelisting.


DISCLOSURE TIMELINE
  • 2019-12-04 - Vulnerability reported to vendor
  • 2020-04-02 - Coordinated public release of advisory
CREDIT Mat Powell of Trend Micro Zero Day Initiative
BACK TO ADVISORIES