☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2023-40513

CVE-2023-40513 Directory Traversal in Lg
📅 PUBLISHED: 2024-05-03 02:11 UTC 🔄 UPDATED: 2026-08-12 09:03 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.16%
👁️
0.16% probability
4.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: N Integrity None
A: N Availability None
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-40513 is a directory traversal vulnerability in LG Simple Editor’s UserManageController.getImageByFilename method. An authenticated attacker can bypass the authentication mechanism and read arbitrary files from the SYSTEM context, leading to information disclosure. The vulnerability has a CVSS score of 6.5 (Medium) and is currently unpatched. No public exploit code or proof-of-concept is available, but the risk is elevated due to the ability to bypass authentication.

Note: This vulnerability is not related to any open-source package ecosystem (NPM, PyPI, Go, Ruby), so no supply chain analysis is included.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) – but authentication bypass makes it effectively none.
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: High (C:H)
  • Integrity Impact: None (I:N)
  • Availability Impact: None (A:N)
  • Base Score: 6.5 (Medium)

Threat Level: Medium. The vulnerability allows reading sensitive system files (e.g., configuration, credentials) but does not enable code execution or data modification.

Deep Dive & Mechanics

The flaw resides in the getImageByFilename method of the UserManageController class. The application fails to sanitize user-supplied path input before using it in file read operations. An attacker can supply a path like ../../windows/system32/config/sam to traverse directories and read arbitrary files.

The authentication bypass mechanism is not fully detailed, but ZDI notes that the existing authentication can be circumvented, meaning an unauthenticated attacker could exploit this vulnerability. The file read occurs with SYSTEM privileges, maximizing the impact.

Root Cause: Lack of path validation (CWE-22). The application does not check for ../ sequences or enforce a base directory.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

public class UserManageController {
    public void getImageByFilename(String filename) {
        String path = "/images/" + filename; // No validation
        File file = new File(path);
        // Read and return file content
    }
}

Patched Code (Hypothetical):

public class UserManageController {
    private static final String BASE_DIR = "/images/";
    public void getImageByFilename(String filename) {
        // Normalize and validate path
        String normalized = Paths.get(BASE_DIR, filename).normalize().toString();
        if (!normalized.startsWith(BASE_DIR)) {
            throw new SecurityException("Invalid path");
        }
        File file = new File(normalized);
        // Read and return file content
    }
}

No official patch exists; the above is a recommended fix.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites: Network access to LG Simple Editor instance. Authentication bypass may be required.

Exploit Steps:

  1. Identify the vulnerable endpoint (e.g., /UserManageController/getImageByFilename).
  2. Send a crafted request with a path traversal payload:
    GET /UserManageController/getImageByFilename?filename=../../windows/system32/config/sam HTTP/1.1
    Host: target
    
  3. The server returns the contents of the SAM file (or other sensitive files).

No public exploit code is available. The above is a conceptual example.

Blue Team (Detection & Hardening)

Detection:

  • Monitor for requests containing ../ or ..\\ in the filename parameter.
  • Alert on access to sensitive system paths (e.g., /etc/passwd, C:\Windows\System32).

Hardening:

  • Apply input validation and path normalization.
  • Restrict file read operations to a specific directory.
  • Implement strong authentication that cannot be bypassed.
  • Use a Web Application Firewall (WAF) to block path traversal patterns.

Indicators of Compromise (IOCs)

  • Network: HTTP requests with filename parameter containing ../ or ..\\.
  • File Access: Unauthorized reads of files like /etc/shadow, C:\Windows\System32\config\SAM, or application configuration files.
  • Logs: Application logs showing getImageByFilename calls with suspicious paths.

Detection Engineering

YARA Rule

rule CVE_2023_40513_LG_SimpleEditor_PathTraversal {
    meta:
        description = "Detects path traversal attempts targeting LG Simple Editor CVE-2023-40513"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "CVE-2023-40513"
    strings:
        $s1 = "getImageByFilename" nocase
        $s2 = "../" ascii wide
        $s3 = "..\\" ascii wide
    condition:
        $s1 and ($s2 or $s3)
}

Sigma Rule

title: LG Simple Editor Path Traversal Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects path traversal attempts in LG Simple Editor getImageByFilename requests
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - 'getImageByFilename'
            - '../'
            - '..\\'
    condition: selection
falsepositives:
    - Legitimate use of relative paths (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2023-40513 LG Simple Editor Path Traversal"; flow:to_server,established; content:"getImageByFilename"; http_uri; content:"../"; distance:0; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable or restrict access to the UserManageController endpoint if not required.
  2. Implement a WAF rule to block path traversal patterns.
  3. Monitor logs for exploitation attempts.

Long-Term Fix:

  • Apply input validation and path normalization in the application code.
  • Use a secure file access library that prevents directory traversal.
  • Vendor LG should release a security patch; until then, consider isolating the application.

Workarounds:

  • Place the application behind a reverse proxy with strict path filtering.
  • Use file system permissions to limit what the application can read.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"LG Simple Editor"
http.html:"Simple Editor"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-40513/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.