SV-253685r960960_rule
V-253685
SRG-APP-000133-DB-000179
MADB-10-002600
CAT II
10
Remove privileges from users identified as not authorized to install/uninstall MariaDB Enterprise Server plugins.
Implement procedures to monitor for unauthorized changes to DBMS software libraries, related software application libraries, and configuration files. If a third-party automated tool is not employed, an automated job that reports file information on the directories and files of interest and compares them to the baseline report for the same will meet the requirement.
Review documentation to determine which users are authorized to modify the MariaDB Enterprise Server binary files and shared library paths.
If any unauthorized users are granted modify rights, this is a finding.
Check what users have access to install/uninstall MariaDB Enterprise Server plugins. This privilege can be listed in one of three places: Table level, database level, or global.
Table level:
MariaDB> SELECT user, host FROM mysql.tables_priv WHERE db = 'mysql' and table_name = ' plugin';
Database level:
MariaDB> SELECT user, host FROM mysql.db WHERE db = 'mysql' and (insert_priv = 'y') or (delete_priv = 'y') or (insert_priv = 'y' and delete_priv = 'y');
Global:
SELECT user, host FROM mysql.user WHERE (insert_priv = 'y') or (delete_priv = 'y') or (insert_priv = 'y' and delete_priv = 'y');
If any user identified by the above queries is not authorized to install/uninstall MariaDB Enterprise Server plugins, this is a finding.
Review monitoring procedures and implementation evidence to verify monitoring of changes to database software libraries, related applications, and configuration files is done.
Verify the list of files and directories being monitored is complete.
If monitoring does not occur or is not complete, this is a finding.
V-253685
False
MADB-10-002600
Review documentation to determine which users are authorized to modify the MariaDB Enterprise Server binary files and shared library paths.
If any unauthorized users are granted modify rights, this is a finding.
Check what users have access to install/uninstall MariaDB Enterprise Server plugins. This privilege can be listed in one of three places: Table level, database level, or global.
Table level:
MariaDB> SELECT user, host FROM mysql.tables_priv WHERE db = 'mysql' and table_name = ' plugin';
Database level:
MariaDB> SELECT user, host FROM mysql.db WHERE db = 'mysql' and (insert_priv = 'y') or (delete_priv = 'y') or (insert_priv = 'y' and delete_priv = 'y');
Global:
SELECT user, host FROM mysql.user WHERE (insert_priv = 'y') or (delete_priv = 'y') or (insert_priv = 'y' and delete_priv = 'y');
If any user identified by the above queries is not authorized to install/uninstall MariaDB Enterprise Server plugins, this is a finding.
Review monitoring procedures and implementation evidence to verify monitoring of changes to database software libraries, related applications, and configuration files is done.
Verify the list of files and directories being monitored is complete.
If monitoring does not occur or is not complete, this is a finding.
M
5475