CVE-2023-40498
Published: 03 May 2024
Summary
CVE-2023-40498 is a critical-severity Path Traversal (CWE-22) vulnerability in Lg Simple Editor. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
LG Simple Editor contains a directory traversal vulnerability in the cp command within the makeDetailContent method. The flaw stems from insufficient validation of user-supplied paths before they are used in file operations, allowing traversal sequences to reach arbitrary locations on the filesystem. The issue is tracked as CVE-2023-40498, was originally reported as ZDI-CAN-19925, and carries a CVSS 3.1 base score of 9.8.
Unauthenticated remote attackers can send crafted requests that exploit the path-handling weakness to write or execute attacker-controlled content. Successful exploitation grants code execution in the context of the SYSTEM account on affected LG Simple Editor installations.
The associated Zero Day Initiative advisory (ZDI-23-1204) details the flaw, and the EPSS score has remained at a high level of 0.8912 since disclosure, indicating sustained exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-45069
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.