CRITICAL🇵🇱 Wersja polska

CVE-2023-40497

CVSS 9.8v3.1pub. 2024-05-03upd. 2025-04-10

LG Simple Editor saveXml Directory Traversal Remote Code Execution Vulnerability. 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. . Was ZDI-CAN-19924.

🤖 AI Analysis
How it works

The flaw lies in the makeDetailContent method, which implements the saveXml command. The application does not properly verify the file path provided by the user before using it in file system operations. An attacker can craft a request containing path traversal sequences (e.g., '../'), directing the file write outside the intended directory. In this way, it is possible to place a malicious file in any system location and cause code execution.

Impact

An attacker gains the ability to execute arbitrary code in the context of the SYSTEM account, which means complete takeover of the attacked operating system, including access to all data and the ability for further lateral movement in the network.

Mitigation & patch

Patches available from the vendor should be applied according to the references. Additionally, it is recommended to restrict network access to the LG Simple Editor service using a firewall to trusted IP addresses and monitor unexpected operations on system files.

Who is affected

LG Simple Editor — versions indicated in the vendor references and in the ZDI-23-1203 advisory

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Lg Simple Editor

    APP
    Lg
    3.21.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEPath Traversal
CWE
References

Related vulnerabilities

CVE-2023-40498CRITICAL9.8PL ✓ten sam produkt

LG Simple Editor: path traversal w komendzie cp umożliwia RCE jako SYSTEM

CVE-2023-40494CRITICAL9.1PL ✓ten sam produkt

LG Simple Editor — path traversal umożliwiający usunięcie dowolnych plików

CVE-2023-40493CRITICAL9.8PL ✓ten sam produkt

LG Simple Editor — path traversal umożliwiający RCE jako SYSTEM

CVE-2023-40492CRITICAL9.1PL ✓ten sam produkt

LG Simple Editor — path traversal umożliwiający usunięcie dowolnych plików

CVE-2023-40499CRITICAL9.1PL ✓ten sam produkt

LG Simple Editor – path traversal umożliwiający usunięcie dowolnych plików