{"id":"CVE-2023-40498","published":"2024-05-03T02:11:27Z","modified":"2024-09-18T18:29:44Z","title":"LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability","vendor":"LG","product":"Simple Editor","tier":"core","eol":null,"affectedVersions":[{"vendor":"LG","product":"Simple Editor","versions":["LG Simple Editor 3.21.0"]}],"description":{"text":"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.\n\nThe 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.\n. Was ZDI-CAN-19925.","provenance":"source","from":"CVE.org"},"summary":{"text":"A directory traversal flaw in the cp command within the makeDetailContent method of LG Simple Editor lets a remote attacker abuse user-supplied paths that are not properly validated before file operations. Exploitation requires no authentication or user interaction, only network access to an affected installation, and succeeds by executing arbitrary code in the context of SYSTEM.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:14Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.8509,"percentile":0.99712,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1204/","tags":["x_research-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-45069","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-45069","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"LG Simple Editor Remote Code Execution","module":"exploit/windows/http/lg_simple_editor_rce","type":"exploit","disclosureDate":"2023-08-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/lg_simple_editor_rce.rb"}],"first":{"date":"2023-08-24","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/lg_simple_editor_rce.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-08-24","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/lg_simple_editor_rce.rb","provenance":"source"},{"date":"2024-05-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-40498","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":31.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9971"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}