Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2023-40498 EUVD-2023-45069GHSA-2qqh-h8cp-4jfx

LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability

Published May 3, 2024 · Updated Sep 18, 2024 · Assigned by zdi

Description

LG Simple Editor cp Command 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 cp 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-19925.

Affected products

VendorProductAffectedFixed
LG Simple Editor LG Simple Editor 3.21.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References