CVE-2023-40498

CRITICAL

LG Simple Editor - Unauthenticated Remote Code Execution via Path Traversal in cp Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-40498. PoCs published by rgod, Ege Balcı <[email protected]>, including Metasploit module exploits/windows/http/lg_simple_editor_rce.

AI-analyzed exploit summary This Metasploit module exploits broken access control and directory traversal vulnerabilities in LG Simple Editor to upload and execute a malicious JSP payload, achieving remote code execution with SYSTEM privileges.

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.

Exploits (1)

metasploit WORKING POC EXCELLENT
by rgod, Ege Balcı <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/lg_simple_editor_rce.rb

This Metasploit module exploits broken access control and directory traversal vulnerabilities in LG Simple Editor to upload and execute a malicious JSP payload, achieving remote code execution with SYSTEM privileges.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: LG Simple Editor <= v3.21
No auth needed
Prerequisites: Network access to the target's web service (port 8080 by default) · Vulnerable version of LG Simple Editor (<= v3.21)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Third Party Advisory x_research-advisory
https://www.zerodayinitiative.com/advisories/ZDI-23-1204/

Scores

CVSS v3 9.8
EPSS 0.8296
EPSS Percentile 99.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-22
Status published
Products (1)
lg/simple_editor 3.21.0
Published May 03, 2024
Tracked Since Feb 18, 2026