Cloudanix VulnDB

CVE-2023-40504

Critical · 9.8

CVSS

9.8

EPSS

88.7%

Published

May 3, 2024

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A vulnerable LG Simple Editor system can be remotely taken over without a password, giving an attacker control of the affected computer.

Weaponized
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Command Injection
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

The vulnerability is an unauthenticated remote command injection in LG Simple Editor’s readVideoInfo method. User-controlled input is passed into a system call without sufficient validation or escaping, allowing an attacker to append operating system commands. Successful exploitation results in arbitrary command execution with SYSTEM privileges, enabling full compromise of the affected Windows host, including file access, process execution, persistence, credential theft, lateral movement tooling, and service disruption.

Why it matters to the business

An exposed vulnerable LG Simple Editor installation can be fully taken over remotely without a password. Because exploitation can run as SYSTEM and public weaponized exploitation is available with a very high EPSS score, organizations should treat internet-exposed or broadly reachable instances as high-risk even though the issue is not currently listed in CISA KEV. Compromise could lead to operational outage of content-management or signage workflows, malware deployment, data theft from the host, and use of the server as a foothold into the broader network.

How an attack unfolds

An attacker identifies a reachable LG Simple Editor service or application interface and sends a crafted request to functionality that invokes readVideoInfo. The attacker supplies a video-related parameter containing shell metacharacters or command separators so that, when the application attempts to inspect video metadata, the unsanitized value is incorporated into an operating system command. The operating system interprets the injected payload as an additional command, executing it under the application’s privileged context. Since authentication is not required and the vulnerability has low attack complexity, the attacker can move directly from reconnaissance to remote code execution. Post-exploitation commonly involves running discovery commands, downloading a second-stage payload, creating persistence, dumping credentials, disabling security tools, or staging ransomware or remote access tooling.

How to fix it

Upgrade LG Simple Editor to a vendor-fixed release if available from LG and remove any unsupported or unmaintained versions. If a fixed version is not available, mitigate by disabling or isolating the vulnerable functionality, restricting access to the application to trusted administrative networks only, placing it behind a VPN or allowlisted reverse proxy, and blocking direct internet exposure. Run the service with the least-privileged account possible instead of SYSTEM where operationally feasible. Apply application control to prevent the LG Simple Editor process from launching command interpreters or scripting engines such as cmd.exe, powershell.exe, wscript.exe, cscript.exe, mshta.exe, rundll32.exe, certutil.exe, bitsadmin.exe, curl.exe, or wget.exe. Monitor and block outbound connections from the host except to explicitly required destinations. Because exploitation is weaponized and EPSS is high, prioritize remediation ahead of routine patch cycles for any reachable instance.

How to confirm the fix worked

Confirm exposure by inventorying hosts with LG Simple Editor installed and identifying any network-reachable management or service interfaces. Verify the installed version against LG’s latest security-fixed release information. Confirm that the application is not reachable from the internet or untrusted networks unless explicitly required and protected by strong access controls. Validate mitigations by testing that untrusted users cannot reach the vulnerable interface and that the LG Simple Editor process cannot spawn operating system shells or scripting interpreters. Review endpoint telemetry after patching or mitigation to ensure no suspicious child processes continue to originate from the application. If a vendor update is applied, confirm the file versions, package version, service restart, and that the old vulnerable binaries are no longer present.

Typical attack path

  1. Scan for exposed LG Simple Editor instances or management interfaces.
  2. Send a crafted request to functionality that triggers the readVideoInfo method.
  3. Inject operating system command separators or shell syntax into a user-controlled video information parameter.
  4. Cause the application to execute the injected command through an unsafe system call.
  5. Establish command execution as SYSTEM on the Windows host.
  6. Run reconnaissance commands to identify users, domain context, network access, and security controls.
  7. Download and execute additional tooling such as a web shell, remote access agent, credential theft utility, or malware loader.
  8. Use the compromised host for persistence, lateral movement, data theft, or disruption.

How to detect it

Investigate whether exploitation already occurred by reviewing web/application access logs, LG Simple Editor logs, Windows Event Logs, EDR process telemetry, proxy logs, DNS logs, and firewall egress records. Focus on requests involving readVideoInfo or video metadata handling that contain shell metacharacters such as semicolons, pipes, ampersands, backticks, command substitution, URL-encoded command separators, or references to command interpreters. On Windows hosts, hunt for child processes spawned by the LG Simple Editor process, especially cmd.exe, powershell.exe, wscript.exe, cscript.exe, mshta.exe, rundll32.exe, regsvr32.exe, certutil.exe, bitsadmin.exe, curl.exe, wget.exe, net.exe, net1.exe, whoami.exe, ipconfig.exe, nltest.exe, quser.exe, tasklist.exe, schtasks.exe, sc.exe, and wevtutil.exe. Review Security Event ID 4688, Sysmon Event ID 1, PowerShell 4103/4104, service creation Event ID 7045, scheduled task events 106/140/4698, Windows Defender/EDR alerts, and file creation in temporary or public writable directories. Look for outbound connections shortly after suspicious readVideoInfo requests, especially to unknown IPs, newly observed domains, paste sites, file-sharing services, or command-and-control infrastructure. Absence of known fixed IOCs does not rule out exploitation because the vulnerability allows arbitrary attacker-chosen commands.

  • readVideoInfo
  • cmd.exe /c
  • powershell.exe -enc
  • powershell.exe -EncodedCommand
  • powershell -nop
  • powershell -w hidden
  • certutil.exe -urlcache
  • certutil.exe -f
  • bitsadmin /transfer
  • mshta.exe http
  • rundll32.exe javascript:
  • regsvr32.exe /s /n /u /i:
  • schtasks /create
  • sc.exe create
  • net user
  • net localgroup administrators
  • whoami /all
  • ipconfig /all
  • nltest /domain_trusts
  • wevtutil cl
  • %TEMP%
  • C:\Windows\Temp\
  • C:\Users\Public\
  • SimpleEditor.exe -> cmd.exe
  • SimpleEditor.exe -> powershell.exe
  • SimpleEditor.exe -> certutil.exe
  • SimpleEditor.exe -> bitsadmin.exe
  • SimpleEditor.exe -> mshta.exe

What your security team should do

  • Immediately identify all LG Simple Editor installations and determine whether any are internet-exposed or reachable from untrusted networks.
  • Prioritize patching, isolation, or removal of exposed instances because exploitation is weaponized and the EPSS probability is high.
  • If immediate patching is not possible, restrict access using firewall allowlists, VPN-only administration, or reverse proxy controls.
  • Add endpoint detection rules for LG Simple Editor spawning command shells, scripting engines, download utilities, or LOLBins.
  • Review historical logs and EDR telemetry for suspicious process creation, outbound downloads, new services, scheduled tasks, and local administrator changes on affected hosts.
  • Apply least-privilege service configuration so the application does not run as SYSTEM where the product supports it.
  • Limit outbound network access from affected hosts to only required destinations to reduce payload download and command-and-control success.
  • Treat any confirmed exploitation as a full host compromise and perform incident response, credential rotation, and lateral movement investigation.

The record

LG Simple Editor readVideoInfo Command Injection 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 readVideoInfo method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-19953.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities