(CVE-2023-32530) Trend Micro Apex Central 2019 (<= Build 6016) Authenticated RCE
The AddCert() function built a SQL query from user-supplied certificate values, so an authenticated attacker could inject SQL and execute system commands as IUSR.
Published on starlabs.sg
Trend Micro Apex Central™ is a web-based console that provides centralized management for Trend Micro products and services at the gateway, mail server, file server, and corporate desktop levels. Administrators can use the policy management feature to configure and deploy product settings to managed products and…
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
User-supplied certificate values were used to construct part of a SQL query without proper input validation, causing SQL injection.
Impact
An authenticated attacker could execute system commands in the context of the IUSR user.
What the attacker needed
An authenticated account; network access to the console
How it was found
- Log in with a valid authenticated account.
- The upload is passed to AddCert(), which runs the injected SQL.
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 write-up has not been written yet. The Original tab links to the source.
The application puts certificate values into a database command without cleaning them. An attacker can add extra database instructions, which can lead to running system commands as the IUSR user.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.