(0Day) LG Simple Editor copyTemplateAll Directory Traversal Information Disclosure Vulnerability
The copyTemplateAll method in LG Simple Editor fails to validate a user-supplied path before using it in file operations, allowing an unauthenticated remote attacker to disclose sensitive information. The attacker can read files with SYSTEM privileges.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of LG Simple Editor. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the copyTemplateAll method concatenates a user-supplied path into a file operation without validating that the resulting path stays within the intended directory.
Impact
An unauthenticated remote attacker could disclose sensitive information, reading files with SYSTEM privileges.
What the attacker needed
Network access to the application
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a directory traversal bug. The software takes a file path from the user and uses it to read files without checking that the path stays inside the intended folder. An attacker can use special path sequences to escape the folder and read any file on the system, even without logging in.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.