Trend Micro Apex Central widget getBlock Local File Inclusion Remote Code Execution Vulnerability
The getBlock 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
Root cause
Likely, the getBlock function passes user-controlled input directly to a PHP include statement without validating or restricting the path.
Impact
An authenticated attacker could execute arbitrary code in the context of IUSR, but only in conjunction with other vulnerabilities.
What the attacker needed
Authentication required; Another vulnerability to achieve code execution
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 takes a file path and runs that file as code. Here the program did not check what path a user supplied, so an attacker with a login could make the server run a file of their choosing. That could let them 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.