Exploit database

Vulnerability

CVE-2023-40498

LG Simple Editor cp Command Directory Traversal Remote Code Execution Vulnerability

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · zdi

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

1 source
LG Simple Editor Remote Code Execution
MSF-windows--http--lg_simple_editor_rceMetasploitWindows / remotePreferred

This Metasploit module exploits broken access control and directory traversal vulnerabilities in LG Simple Editor software for gaining code execution. The vulnerabilities exist in versions of LG Simple Editor prior to v3.21. By exploiting this flaw, an attacker can upload and execute a malicious JSP payload with the SYSTEM user permissions.

2023-08-24lg_simple_editor_rce.rb