Advisory Details

February 16th, 2022

MariaDB CONNECT Storage Engine Use-After-Free Privilege Escalation Vulnerability

ZDI-22-364
ZDI-CAN-16207

CVE ID CVE-2022-24050
CVSS SCORE 7.0, AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS MariaDB
AFFECTED PRODUCTS MariaDB
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability.

The specific flaw exists within the processing of SQL queries. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account.

ADDITIONAL DETAILS MariaDB has issued an update to correct this vulnerability. More details can be found at:
https://mariadb.com/kb/en/security/
DISCLOSURE TIMELINE
  • 2022-01-20 - Vulnerability reported to vendor
  • 2022-02-16 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES