CVE-2022-24051
JSON

7.0high

MariaDB CONNECT Storage Engine Format String Privilege Escalation Vulnerability.

Severity
7.0high CVSS:3.0 by zdi
Exploit likelihood
0.75% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi
Also known as
BIT-MARIADB-2022-24051BIT-MARIADB-MIN-2022-24051BIT-MYSQL-CLIENT-2022-24051

Description

MariaDB CONNECT Storage Engine Format String Privilege Escalation Vulnerability. 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 proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.

Affected

Product or packageVersionsReported by
MariaDB MariaDB10.6.5, from 10.2.0 before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2, 10.8.0CVE List, NVD
fedoraproject fedora34, 35, 36NVD
mariadb (Bitnami)from 10.2.0 before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2, from 10.8.0 before 10.8.1Bitnami Vulnerability Database
mariadb-min (Bitnami)from 10.2.0 before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2, from 10.8.0 up to 10.8.0Bitnami Vulnerability Database
mysql-client (Bitnami)from 10.2.0 before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2, from 10.8.0 before 10.8.1Bitnami Vulnerability Database

All scores

zdi7.0high CVSS:3.0CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

MariaDB CONNECT Storage Engine Format String Privilege Escalation Vulnerability. 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 proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.

NVD (es)

Vulnerabilidad de escalada de privilegios en el motor de almacenamiento CONNECT de MariaDB. Esta vulnerabilidad permite a los atacantes locales escalar privilegios en las instalaciones afectadas de MariaDB. Se requiere autenticación para explotar esta vulnerabilidad. El fallo específico existe en el procesamiento de las consultas SQL. El problema se debe a la falta de validación adecuada de una cadena suministrada por el usuario antes de utilizarla como especificador de formato. Un atacante puede aprovechar esta vulnerabilidad para escalar privilegios y ejecutar código arbitrario en el contexto de la cuenta de servicio. Era ZDI-CAN-16193

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24051 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-24051 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2022-24051 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2022-24051 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2022-24051 changed 2026-09-08Apache-2.0