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.
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.
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.
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.
LG Simple Editor — versions indicated in the vendor references and in the ZDI-23-1203 advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLg Simple Editor
APPLg3.21.0
Related vulnerabilities
LG Simple Editor: path traversal w komendzie cp umożliwia RCE jako SYSTEM
LG Simple Editor — path traversal umożliwiający usunięcie dowolnych plików
LG Simple Editor — path traversal umożliwiający RCE jako SYSTEM
LG Simple Editor — path traversal umożliwiający usunięcie dowolnych plików
LG Simple Editor – path traversal umożliwiający usunięcie dowolnych plików