Advisory Details

August 24th, 2023

(0Day) LG Simple Editor saveXml Directory Traversal Remote Code Execution Vulnerability

ZDI-23-1203
ZDI-CAN-19924

CVE ID CVE-2023-40497
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS LG
AFFECTED PRODUCTS Simple Editor
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of LG Simple Editor. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the saveXml command implemented in the makeDetailContent method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

ADDITIONAL DETAILS

02/13/23 – The ZDI requested a vendor PSIRT contact.

02/14/23 – The vendor provided PSIRT Contact information.

02/14/23 – The ZDI reported the vulnerability to the vendor.

08/04/23 – The ZDI asked for an update.

08/08/23 – The vendor states that they do not have plans to fix the vulnerability now or in the future.

08/21/23 – The ZDI informed the vendor that we are publishing the case as a zero-day advisory on 08/24/23.

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


DISCLOSURE TIMELINE
  • 2023-02-14 - Vulnerability reported to vendor
  • 2023-08-24 - Coordinated public release of advisory
CREDIT rgod
BACK TO ADVISORIES