CVE-2023-40497 LG Simple Editor saveXml Directory Traversal Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code with SYSTEM privileges via directory traversal in LG Simple Editor 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-40497?
CVE-2023-40497 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 saveXml 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 saveXml 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-19924.
Weakness: CWE-22
Which versions are affected by CVE-2023-40497?
It affects 1 product.
Products include Lg Simple Editor.
How do I fix CVE-2023-40497?
No fix has been published for CVE-2023-40497 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-40497 being exploited?
There is no known exploitation of CVE-2023-40497 in the wild and no public exploit code.
Other vulnerabilities in LG Simple Editor
- CVE-2023-40493 LG Simple Editor copySessionFolder Directory Traversal Remote Code Execution Vulnerability
- CVE-2023-40498 LG Simple Editor cp Command 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-wfcp-54g6-3v3c.