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.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Trend Micro Apex Central. Authentication is 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 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.