Skip to content
Path traversal Advisory Advanced CVE-2023-52325

Trend Micro Apex Central widget WFProxy Local File Inclusion Remote Code Execution Vulnerability

The getObjWGFServiceApiByApiName function fails to validate user-supplied data before passing it to a PHP include, allowing an authenticated attacker to include arbitrary local files. This can be chained with other vulnerabilities to execute code as the IUSR account.

Poh Jia Hao Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Trend Micro Apex Central. Authentication is required to exploit this vulnerability.

Poh Jia Hao of STAR Labs SG Pte. Ltd., 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 application passes user-controlled input directly to a PHP include without validating or restricting the path, enabling local file inclusion.

Impact

An authenticated attacker could chain this flaw with other vulnerabilities to execute arbitrary code in the context of the IUSR account.

What the attacker needed

Authentication required; Chain with another vulnerability for RCE

The fix

Trend Micro has issued an update to correct this vulnerability.

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.

A PHP include statement pulls in another file, like a recipe calling for an ingredient. If the name of that file comes from user input and is not checked, an attacker can point it at a file they should not be able to reach. Here, an attacker who is already logged in can make the application include a local file of their choosing, and by combining this with another bug they can run their own code on the server.

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 Poh Jia Hao

View all

19 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.