Cloudanix VulnDB

CVE-2023-40492

High · 8.2

CVSS

8.2

EPSS

83.1%

Published

May 3, 2024

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

An attacker who can reach the affected software may be able to delete important files without logging in, potentially causing outages or requiring systems to be rebuilt.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Tampering
Component
Application
Class
Path Traversal
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

CVE-2023-40492 is an unauthenticated path traversal vulnerability in LG Simple Editor's deleteCheckSession method. The vulnerable code accepts a user-controlled file path and uses it in a delete operation without properly canonicalizing, constraining, or validating the path. By supplying traversal sequences such as ../ or encoded equivalents, a remote attacker can cause the application to delete files outside the intended directory. Because the deletion occurs in the security context of the LG Simple Editor service, which may run as SYSTEM on Windows, the impact can include deletion of operating system, application, configuration, session, or data files. The CVSS vector indicates no confidentiality impact, limited integrity impact, and high availability impact, consistent with destructive file deletion rather than direct data theft or code execution.

Why it matters to the business

Successful exploitation can disrupt digital signage, content management workflows, or systems relying on LG Simple Editor by deleting critical application or system files. This can cause service outages, corrupted installations, failed content updates, loss of local configuration, and potentially require manual repair or full reinstallation. Although the vulnerability is not currently listed in CISA KEV and no ransomware use is indicated, the EPSS score is high, suggesting elevated likelihood of exploitation activity. Because exploitation is unauthenticated, network-exposed installations should be treated as high priority for remediation.

How an attack unfolds

An attacker first identifies an exposed LG Simple Editor instance and confirms that the vulnerable endpoint or function associated with deleteCheckSession is reachable. The attacker then sends a crafted request containing a malicious path parameter that uses directory traversal sequences to escape the expected working directory. If the application does not normalize and restrict the path before deletion, the request is processed and the target file is deleted with the privileges of the Simple Editor service. An attacker may begin by deleting non-critical files to validate exploitability, then target application configuration, session, content, executable support files, logs, or operating system files to cause denial of service, interfere with recovery, or remove forensic evidence. In severe cases, deletion performed as SYSTEM can render the application or host unstable and require administrative restoration from backups or reinstallation.

How to fix it

Upgrade LG Simple Editor to a vendor-fixed release as soon as available from LG. No specific fixed version was provided in the supplied advisory data, so administrators should consult LG's official security advisory, product release notes, or support channels for the corrected build and apply it across all affected installations. If immediate patching is not possible, remove direct internet exposure, restrict access to trusted administrative networks or VPNs, and block unauthenticated access to the vulnerable deleteCheckSession functionality at a reverse proxy, WAF, or firewall. Enforce least privilege for the LG Simple Editor service account where supported so file deletion cannot occur with SYSTEM-level privileges. Ensure recent backups exist for application directories, content repositories, and host configuration. Additional defensive controls should include canonical path validation, allowlisted deletion directories, rejection of traversal sequences and encoded traversal variants, and application logging for file deletion operations.

How to confirm the fix worked

Confirm the installed LG Simple Editor version is at or above the vendor-fixed version once identified. Validate that the vulnerable deleteCheckSession path or method is no longer reachable without authentication and that requests containing traversal patterns are rejected. Perform controlled testing in a non-production environment using benign test files only: attempt to delete a file outside the expected application-controlled directory using ../, ..\, %2e%2e%2f, %2e%2e%5c, and double-encoded traversal variants; the application should return an error and the file should remain intact. Review service account permissions to confirm the application cannot delete arbitrary operating system files. Check network controls to ensure LG Simple Editor management interfaces are not publicly exposed unless explicitly required and protected. Verify backups can restore application configuration and content.

Typical attack path

  1. Scan for internet-facing or internally reachable LG Simple Editor installations.
  2. Identify the vulnerable deleteCheckSession functionality or corresponding HTTP route.
  3. Send crafted unauthenticated requests containing path traversal payloads such as ../, ..\, or URL-encoded traversal sequences.
  4. Validate that files outside the expected directory can be deleted, often by targeting a predictable benign file first.
  5. Delete application configuration, content, logs, or system files to disrupt service or impede investigation.
  6. Repeat requests against additional reachable installations or use automated tooling to cause broad availability impact.

How to detect it

To determine whether this vulnerability was already exploited, review web server, application, reverse proxy, WAF, and EDR telemetry for unauthenticated requests to deleteCheckSession containing path traversal patterns. Focus on requests with ../, ..\, URL-encoded dots or slashes, double-encoded traversal strings, or absolute Windows paths. Investigate HTTP 200, 204, 302, or application-success responses following such requests, especially if followed by application errors, service crashes, missing configuration, or failed startup events. On Windows hosts, examine file deletion telemetry from EDR, Sysmon Event ID 23 or 26 if enabled, Windows Security auditing events for file deletion if object access auditing is configured, and application logs for unexpected removal of configuration, content, session, log, or executable support files. Correlate suspicious requests with subsequent service restarts, application exceptions, Windows System event log service failures, or gaps in logging that may indicate log deletion. Also search for repeated requests from a single source across multiple paths, which may indicate automated probing or destructive exploitation.

  • deleteCheckSession
  • ../
  • ..\\
  • %2e%2e%2f
  • %2e%2e%5c
  • %252e%252e%252f
  • %252e%252e%255c
  • ..%2f
  • ..%5c
  • %c0%ae%c0%ae%c0%af
  • /deleteCheckSession
  • deleteCheckSession?
  • deleteCheckSession=
  • C:\\Windows\\
  • C:/Windows/
  • C:\\Program Files\\
  • C:/Program Files/
  • /etc/passwd
  • /var/log/
  • file deletion by LG Simple Editor
  • Sysmon Event ID 23
  • Sysmon Event ID 26

What your security team should do

  • Inventory all LG Simple Editor deployments, including signage management workstations, servers, and any systems exposed through NAT, VPN, or reverse proxies.
  • Prioritize remediation for internet-facing or broadly reachable instances because exploitation requires no authentication and EPSS is high.
  • Apply the vendor-fixed LG Simple Editor release when available; if the fixed version is unknown, obtain the latest supported build directly from LG and confirm advisory coverage.
  • Restrict access to LG Simple Editor administrative interfaces to trusted networks and authenticated users only.
  • Add WAF, reverse proxy, or IDS rules to detect and block deleteCheckSession requests containing path traversal sequences or encoded traversal patterns.
  • Run the LG Simple Editor service with the least privileged account supported by the product instead of SYSTEM where operationally feasible.
  • Review endpoint and web logs for evidence of suspicious deleteCheckSession activity, traversal payloads, and unexpected file deletion events.
  • Validate recoverability by testing restoration of application configuration, media content, and host files from backups.
  • Monitor threat intelligence and CISA KEV updates for any change in exploitation status or ransomware association.

The record

LG Simple Editor deleteCheckSession 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 deleteCheckSession 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-19919.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities