CVE-2023-40494
High · 8.2CVSS
8.2
EPSS
83.1%
Published
May 3, 2024
CISA due date
—
Cloudanix analysis
An unauthenticated attacker can remotely trick LG Simple Editor into deleting files it should not be able to touch, potentially disrupting service or removing important data.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
CVE-2023-40494 is an unauthenticated path traversal flaw in the LG Simple Editor deleteFolder method. The application fails to properly validate a user-supplied folder path before performing filesystem operations, allowing a remote attacker to traverse outside the intended directory and delete arbitrary files. File deletion occurs in the security context of the application, reported as SYSTEM, which can make the impact severe on Windows hosts. The vulnerability primarily affects integrity and availability: attackers can remove application files, configuration files, content, logs, or operating-system-adjacent files accessible to the process, potentially causing service disruption or system instability.
Why it matters to the business
Successful exploitation can disrupt digital signage/content-management operations, remove important application data or configuration, impair recovery by deleting logs or backups reachable by the application, and cause outage conditions requiring restoration from backup or system rebuild. Because exploitation requires no authentication, is network-reachable, and has a high EPSS score despite not being listed in CISA KEV, exposed instances should be treated as high-priority remediation targets, especially given the vulnerability has been public for more than two years.
How an attack unfolds
An attacker first identifies an exposed LG Simple Editor service and locates the functionality that invokes the deleteFolder method. They then send a crafted request containing traversal sequences in the folder/path parameter so the application resolves the requested deletion target outside the intended working directory. Because the request does not require authentication and path validation is insufficient, the application performs the deletion as the privileged service account, reportedly SYSTEM. The attacker may delete application content to cause disruption, remove configuration files to break service startup, delete logs to hinder investigation, or target other writable files to degrade host availability. Exploitation does not provide direct code execution by itself, but arbitrary file deletion under a high-privilege context can be used for destructive impact and may support follow-on attacks depending on local file permissions and application behavior.
How to fix it
Upgrade LG Simple Editor to a vendor-fixed release if available from LG; no exact fixed version was provided in the supplied data, so confirm the current supported version and security advisory status with the vendor. If immediate upgrade is not possible, restrict network access to the LG Simple Editor management interface using VPN, firewall allowlists, or segmentation; disable or block unauthenticated access to folder deletion functionality; place the service behind authentication and access controls where supported; and ensure the application does not run with unnecessary SYSTEM-level privileges. As a defense-in-depth measure, enforce filesystem permissions so the application account can only delete files in required content directories, and maintain offline or immutable backups of content and configuration.
How to confirm the fix worked
Confirm the deployed LG Simple Editor version is vendor-supported and includes the fix for the deleteFolder path traversal issue. Verify the management interface is not exposed to untrusted networks. Review access controls to ensure unauthenticated users cannot invoke folder deletion functionality. Where safe and authorized, perform a controlled test using benign traversal payloads against a non-production instance to confirm traversal is rejected and deletion remains confined to the intended directory. Validate that filesystem permissions prevent the application service account from deleting files outside required application content paths. Confirm backups and restoration procedures cover application content, configuration, and logs.
Typical attack path
- Scan for internet-exposed or internally reachable LG Simple Editor installations.
- Probe application routes or requests associated with folder deletion functionality.
- Send an unauthenticated crafted deleteFolder request containing path traversal sequences such as ../ or ..\.
- Target files or directories outside the intended application content directory.
- Cause deletion of selected files in the context of the LG Simple Editor service, reportedly SYSTEM.
- Optionally delete logs, configuration, content, or startup-critical files to disrupt service or hinder forensic review.
How to detect it
Review LG Simple Editor application logs, web server/proxy logs, endpoint telemetry, Windows file auditing, EDR file-deletion events, and backup/change-monitoring alerts. Look for unauthenticated requests invoking deleteFolder or similar folder deletion actions with traversal patterns, including ../, ..\, double-encoded traversal, or absolute Windows paths. Correlate suspicious requests with file deletion activity performed by the LG Simple Editor service process or its service account, especially deletions outside expected content directories. Investigate unexplained removal of configuration files, application content, logs, scheduled tasks, or startup-related files after suspicious requests. If logs are missing or truncated, treat that as suspicious because attackers may use arbitrary deletion to remove evidence. Since no specific public exploitation tool or named threat actor was provided, focus on behavioral indicators rather than tool-specific artifacts.
- deleteFolder
- ../
- ..\
- %2e%2e%2f
- %2e%2e%5c
- %252e%252e%252f
- %252e%252e%255c
- /deleteFolder
- deleteFolder?
- deleteFolder=
- C:\Windows\
- C:/Windows/
- C:\ProgramData\
- C:/ProgramData/
What your security team should do
- Identify all LG Simple Editor deployments, including digital signage management servers and staging systems.
- Prioritize remediation for any instance reachable from the internet or broad internal networks due to unauthenticated remote exploitability and high EPSS likelihood.
- Upgrade to a vendor-fixed LG Simple Editor release or obtain vendor guidance if the fixed version is unclear.
- Restrict access to the management interface using network segmentation, firewall allowlists, VPN, and authentication controls.
- Harden service privileges so LG Simple Editor does not run with broad SYSTEM-level filesystem access unless strictly required.
- Review web/application logs for deleteFolder requests containing traversal patterns and investigate any corresponding file deletion events.
- Restore deleted files from known-good backups if exploitation is suspected, and preserve logs before remediation where possible.
- Add SIEM detections for folder-deletion requests containing ../, ..\, or URL-encoded traversal sequences.
The record
LG Simple Editor deleteFolder Directory Traversal Arbitrary File Deletion Vulnerability. This vulnerability allows remote attackers to delete arbitrary files on affected installations of LG Simple Editor. Authentication is not required to exploit this vulnerability. The specific flaw exists within the deleteFolder 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 delete files in the context of SYSTEM. Was ZDI-CAN-19921.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22
- CVE-2026-102991 Mako is a template library written in Python. CWE-22
- CVE-2026-101894 The decompress package for Node.js extracts archives. CWE-22
- CVE-2026-100689 GitPython before 3.1.62 does not validate the `path` field read from an untrusted… CWE-22