CVE-2023-40498 LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code with SYSTEM privileges via directory traversal in the cp command without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-40498?
CVE-2023-40498 is a critical path traversal vulnerability in LG Simple Editor, published on 3 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2023-40498?
It affects 1 product.
Products include Lg Simple Editor.
How do I fix CVE-2023-40498?
No fix has been published for CVE-2023-40498 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-40498 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40498 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in LG Simple Editor
- CVE-2023-40493 LG Simple Editor copySessionFolder Directory Traversal Remote Code Execution Vulnerability
- CVE-2023-40497 LG Simple Editor saveXml Directory Traversal Remote Code Execution Vulnerability
- CVE-2023-40500 LG Simple Editor copyContent Exposed Dangerous Function Remote Code Execution Vulnerability
- CVE-2023-40501 LG Simple Editor copyContent Exposed Dangerous Function Remote Code Execution Vulnerability
- CVE-2023-40504 LG Simple Editor readVideoInfo Command Injection Remote Code Execution Vulnerability
Sources
Also known as GHSA-2qqh-h8cp-4jfx.