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 package | Versions | Reported by |
|---|---|---|
| MariaDB MariaDB | 10.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.0 | CVE List, NVD |
| fedoraproject fedora | 34, 35, 36 | NVD |
| 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.1 | Bitnami 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.0 | Bitnami 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.1 | Bitnami Vulnerability Database |
All scores
| zdi | 7.0high CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high 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
| https://mariadb.com/kb/en/security/ | advisory, patch, vendor-advisory | |
| https://www.zerodayinitiative.com/advisories/ZDI-22-318/ | advisory, third-party-advisory, vdb-entry | |
| https://security.netapp.com/advisory/ntap-20220318-0004/ | advisory, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/ | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-24051 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24051 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-24051 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2022-24051 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2022-24051 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2022-24051 changed 2026-09-08 | Apache-2.0 |