7.2
HIGH
CVE-2021-27928
MariaDB/MySQL Remote Code Execution via Untrusted Search Path
Description

A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.9; Percona Server through 2021-03-03; and the wsrep patch through 2021-03-03 for MySQL. An untrusted search path leads to eval injection, in which a database SUPER user can execute OS commands after modifying wsrep_provider and wsrep_notify_cmd. NOTE: this does not affect an Oracle product.

INFO

Published Date :

March 19, 2021, 3:15 a.m.

Last Modified :

May 3, 2022, 4:04 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.2
Public PoC/Exploit Available at Github

CVE-2021-27928 has a 35 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-27928 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Mariadb mariadb
1 Percona percona_server
1 Galeracluster wsrep
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-27928.

URL Resource
http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html Exploit Third Party Advisory VDB Entry
https://jira.mariadb.org/browse/MDEV-25179 Issue Tracking Vendor Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html Mailing List Third Party Advisory
https://mariadb.com/kb/en/mariadb-10237-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb-10328-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb-10418-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb-1059-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/security/ Vendor Advisory
https://security.gentoo.org/glsa/202105-28 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This repository is designed to provide a comprehensive collection of study materials, notes, and resources for the Offensive Security Certified Professional (OSCP) exam. It covers all key topics from basic to advanced, helping aspiring penetration testers to prepare efficiently for the exam.

cybersecurity hacking oscp oscp-guide oscp-journey oscp-prep

Updated: 2 days, 17 hours ago
1 stars 0 fork 0 watcher
Born at : Oct. 4, 2024, 4:43 p.m. This repo has been linked 75 different CVEs too.

None

Python C Shell PHP PowerShell ASP.NET

Updated: 6 days, 18 hours ago
0 stars 0 fork 0 watcher
Born at : Oct. 1, 2024, 2:21 p.m. This repo has been linked 66 different CVEs too.

OSCP and stuffs

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : April 19, 2024, 8:18 p.m. This repo has been linked 63 different CVEs too.

None

Python C Shell

Updated: 2 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : March 29, 2024, 5:29 a.m. This repo has been linked 62 different CVEs too.

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 1 month, 2 weeks ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 6 months, 4 weeks ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

OffSec Certified Professional Certification (OSCP).

oscp oscp-cheatsheet oscp-guide oscp-journey oscp-prep oscp-tools offsec-certified-professional-certification offensive-security offensivesecurity awesome-list awesome-lists cheatsheet offensive-ops

Updated: 7 months ago
1 stars 0 fork 0 watcher
Born at : March 5, 2024, 9:21 a.m. This repo has been linked 61 different CVEs too.

Oscp-notes

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : March 3, 2024, 5:12 a.m. This repo has been linked 61 different CVEs too.

None

Python C Shell

Updated: 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 7, 2024, 10:22 a.m. This repo has been linked 61 different CVEs too.

Ethical Hacking Repository

Python C Shell

Updated: 9 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 2, 2024, 9:12 a.m. This repo has been linked 61 different CVEs too.

OSCP Cheat Sheet

cheatsheet oscp

Python C Shell

Updated: 2 months ago
7 stars 4 fork 4 watcher
Born at : Dec. 17, 2023, 12:31 p.m. This repo has been linked 61 different CVEs too.

None

Python C Shell

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 20, 2023, 5:26 p.m. This repo has been linked 61 different CVEs too.

None

Python C Shell

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 20, 2023, 4:53 a.m. This repo has been linked 61 different CVEs too.

None

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : July 11, 2023, 6:45 a.m. This repo has been linked 3 different CVEs too.

None

Updated: 1 year, 6 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-27928 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-27928 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    May. 03, 2022

    Action Type Old Value New Value
    Changed CWE CWE-78 CWE-94
  • Modified Analysis by [email protected]

    Jan. 04, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202105-28 No Types Assigned https://security.gentoo.org/glsa/202105-28 Third Party Advisory
  • CVE Modified by [email protected]

    May. 26, 2021

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202105-28 [No Types Assigned]
  • Modified Analysis by [email protected]

    Apr. 20, 2021

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://jira.mariadb.org/browse/MDEV-25179 Broken Link, Issue Tracking, Vendor Advisory https://jira.mariadb.org/browse/MDEV-25179 Issue Tracking, Vendor Advisory
  • CVE Modified by [email protected]

    Apr. 14, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 26, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://jira.mariadb.org/browse/MDEV-25179 No Types Assigned https://jira.mariadb.org/browse/MDEV-25179 Broken Link, Issue Tracking, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html Mailing List, Third Party Advisory
    Changed Reference Type https://mariadb.com/kb/en/mariadb-10237-release-notes/ No Types Assigned https://mariadb.com/kb/en/mariadb-10237-release-notes/ Release Notes, Vendor Advisory
    Changed Reference Type https://mariadb.com/kb/en/mariadb-10328-release-notes/ No Types Assigned https://mariadb.com/kb/en/mariadb-10328-release-notes/ Release Notes, Vendor Advisory
    Changed Reference Type https://mariadb.com/kb/en/mariadb-10418-release-notes/ No Types Assigned https://mariadb.com/kb/en/mariadb-10418-release-notes/ Release Notes, Vendor Advisory
    Changed Reference Type https://mariadb.com/kb/en/mariadb-1059-release-notes/ No Types Assigned https://mariadb.com/kb/en/mariadb-1059-release-notes/ Release Notes, Vendor Advisory
    Changed Reference Type https://mariadb.com/kb/en/security/ No Types Assigned https://mariadb.com/kb/en/security/ Vendor Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.2 up to (excluding) 10.2.37 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.3 up to (excluding) 10.3.28 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.4 up to (excluding) 10.4.18 *cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* versions from (including) 10.5 up to (excluding) 10.5.9
    Added CPE Configuration OR *cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* versions up to (including) 2021-03-03
    Added CPE Configuration OR *cpe:2.3:a:galeracluster:wsrep:*:*:*:*:*:mysql:*:* versions up to (including) 2021-03-03
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 23, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-27928 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-27928 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.91 }} 0.51%

score

0.88814

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability