Trend Micro Apex Central widget getObjWGFServiceApiByApiName Local File Inclusion Remote Code Execution Vulnerability
The getObjWGFServiceApiByApiName function in Trend Micro Apex Central fails to validate user-supplied data before passing it to a PHP include, allowing an authenticated attacker to include local files. This could lead to remote code execution in the context of the IUSR account when combined with other vulnerabilities.
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
Impact
An authenticated attacker could execute arbitrary code in the context of the IUSR account, but only in conjunction with other vulnerabilities.
What the attacker needed
Authentication required; Another vulnerability to achieve code execution
The fix
The vulnerability was fixed by the vendor in an update.
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 function is used to bring in code from another file. If the file path comes from user input and isn't checked, an attacker can make the server include a file of their choosing. Here, an authenticated user could include a local file, and if they can also place a malicious file on the server, they could run their own code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.