Skip to content
SQL injection Write-up Intermediate

(CVE-2023-32529) Trend Micro Apex Central 2019 (<= Build 6016) Authenticated RCE

A SQL injection in the DeleteCertById() function of Apex Central 2019 allows an authenticated attacker to execute system commands as the IUSR user. The vulnerability arises because user-supplied certificate values are used to construct part of a SQL query without proper validation.

starlabs.sg

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 author, on starlabs.sg

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

Likely the DeleteCertById() function concatenates user-controlled certificate values directly into a SQL query without parameterisation or validation.

Impact

An authenticated attacker could execute system commands in the context of the IUSR user, potentially leading to full compromise of the application server.

What the attacker needed

Authenticated access to Apex Central

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.

This is a SQL injection bug: the application builds a database query using input from a user without cleaning it first. An attacker who is already logged in can trick the database into running extra commands, and in this case that leads to running system commands on the server as a low-privileged 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.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.