STIGQter STIGQter: STIG Summary: MariaDB Enterprise 10.x Security Technical Implementation Guide Version: 2 Release: 5 Benchmark Date: 01 Apr 2026:

Database objects (including but not limited to tables, indexes, storage, stored procedures, functions, triggers, links to software external to MariaDB, etc.) must be owned by database/MariaDB principals authorized for ownership.

DISA Rule

SV-253688r960960_rule

Vulnerability Number

V-253688

Group Title

SRG-APP-000133-DB-000200

Rule Version

MADB-10-002900

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Assign ownership of authorized objects to authorized object owner accounts.

Check Contents

Review system documentation to identify accounts authorized to have privileges against database objects. Review account privileges on objects in the database(s).

To show the list of system privileges that the MariaDB server supports, run:
MariaDB> SHOW PRIVILEGES;

Gather a list of SHOW GRANTS commands. SHOW GRANTS will list the privileges granted to the account.

Run this database query to create the SHOW GRANTS script for each user:

MariaDB> SELECT DISTINCT CONCAT( 'SHOW GRANTS FOR ', user,'@', host,';') AS grantQuery FROM mysql.user WHERE is_role = 'N';

Run each SHOW GRANTS command for each user.

MariaDB> SHOW GRANTS FOR 'user'@'host';

Verify that all users have the correct privileges, if they do not, this is a finding.

Only DEFINERS of routines (functions and procedures) can change routines. To view the DEFINERS of all functions and procedures, as database administrator run the following SQL:

MariaDB> SELECT * FROM mysql.proc \G

Only DEFINERS of triggers can change triggers. To view all triggers and their DEFINERS, as database administrator run the following SQL:

MariaDB> SELECT * FROM information_schema.triggers \G

If any database users are found to have unauthorized privileges on database objects, this is a finding.

Vulnerability Number

V-253688

Documentable

False

Rule Version

MADB-10-002900

Severity Override Guidance

Review system documentation to identify accounts authorized to have privileges against database objects. Review account privileges on objects in the database(s).

To show the list of system privileges that the MariaDB server supports, run:
MariaDB> SHOW PRIVILEGES;

Gather a list of SHOW GRANTS commands. SHOW GRANTS will list the privileges granted to the account.

Run this database query to create the SHOW GRANTS script for each user:

MariaDB> SELECT DISTINCT CONCAT( 'SHOW GRANTS FOR ', user,'@', host,';') AS grantQuery FROM mysql.user WHERE is_role = 'N';

Run each SHOW GRANTS command for each user.

MariaDB> SHOW GRANTS FOR 'user'@'host';

Verify that all users have the correct privileges, if they do not, this is a finding.

Only DEFINERS of routines (functions and procedures) can change routines. To view the DEFINERS of all functions and procedures, as database administrator run the following SQL:

MariaDB> SELECT * FROM mysql.proc \G

Only DEFINERS of triggers can change triggers. To view all triggers and their DEFINERS, as database administrator run the following SQL:

MariaDB> SELECT * FROM information_schema.triggers \G

If any database users are found to have unauthorized privileges on database objects, this is a finding.

Check Content Reference

M

Target Key

5475