Skip to content
XXE Advisory Intermediate CVE-2023-40507

(0Day) LG Simple Editor copyContent XML External Entity Processing Information Disclosure Vulnerability

The copyContent command in LG Simple Editor parses XML without restricting external entity references, so a crafted document can make the parser fetch a URI and embed its contents back into the document. An unauthenticated remote attacker could use this to disclose sensitive information in the context of SYSTEM.

rgod Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of LG Simple Editor. Authentication is not required to exploit this vulnerability.

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

The XML parser used by the copyContent command resolves external entity references instead of rejecting them.

Impact

An unauthenticated remote attacker could disclose sensitive information in the context of SYSTEM; the vendor stated it has no plans to fix the issue, and the only suggested mitigation is to restrict interaction with the application.

What the attacker needed

Network access to the application; no authentication required

The fix

The vendor said it does not plan 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.

Some programs read XML, a text format that can point to other files or addresses. If the program follows those pointers without checking them, an attacker can make it read files it should not and hand back their contents. Here the copyContent command did exactly that, and no login was needed.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

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.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.