Skip to content
Path traversal Advisory Intermediate CVE-2023-40514

(0Day) LG Simple Editor FileManagerController getImageByFilename Directory Traversal Information Disclosure Vulnerability

The getImageByFilename method in the FileManagerController class fails to validate a user-supplied path before using it in file operations, allowing a remote attacker to read sensitive files. Although authentication is required, the existing authentication mechanism can be bypassed, and disclosed files are read in the context of SYSTEM.

rgod Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of LG Simple Editor. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

rgod, on the Zero Day Initiative

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 getImageByFilename method passes a user-supplied path directly into file operations without validating or restricting it to the intended directory.

Impact

A remote attacker could disclose sensitive information on affected installations, reading files with SYSTEM privileges; the only suggested mitigation is to restrict interaction with the application.

What the attacker needed

LG Simple Editor installed; network access to the application; authentication bypass (per report)

The fix

The vendor stated it has no plans to fix the vulnerability, so the only suggested mitigation is to restrict interaction with 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 path traversal bug: the application takes a filename from the user and uses it to open a file without checking that the name stays inside the intended folder. By supplying a crafted name, an attacker can make the program read files elsewhere on the machine, such as configuration or system files. The report also says the login check can be bypassed, so the attacker does not need valid credentials.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by rgod

View all

696 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.