STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle MySQL 9.x Security Technical Implementation Guide

V-289318

CAT II (Medium)

The MySQL Database Server 9.x must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to the MySQL Database Server 9.x.

Rule ID

SV-289318r1319233_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001499

Discussion

If the system were to allow any user to make changes to software libraries, then those changes might be implemented without undergoing the appropriate testing and approvals that are part of a robust change management process. Accordingly, only qualified and authorized individuals will be allowed to obtain access to information system components for purposes of initiating changes, including upgrades and modifications. Unmanaged changes that occur to the database software libraries or configuration can lead to unauthorized or compromised installations.

Check Content

Review the system documentation to identify the authorized users and groups permitted to modify MySQL software modules, binary files, plugin libraries, and component libraries.

Review the operating system ownership and permissions for the MySQL binary and shared software library locations.

If unauthorized users or groups have modify access to these files or directories, this is a finding.

Review table-specific privileges that permit installation or removal of MySQL plugins or components:
SELECT GRANTEE, TABLE_SCHEMA, TABLE_NAME, PRIVILEGE_TYPE
FROM information_schema.TABLE_PRIVILEGES
WHERE TABLE_SCHEMA = 'mysql'
  AND TABLE_NAME IN ('plugin', 'component')
  AND PRIVILEGE_TYPE IN ('INSERT', 'DELETE');

"INSERT" on "mysql.plugin" permits installation of plugins, and "DELETE" permits their removal. 

"INSERT" and "DELETE" on "mysql.component", similarly, permit installation and removal of components.

Also review global "INSERT" and "DELETE" privileges:
SELECT GRANTEE, PRIVILEGE_TYPE
FROM information_schema.USER_PRIVILEGES
WHERE PRIVILEGE_TYPE IN ('INSERT', 'DELETE');

If an unauthorized account has privileges that permit modification of the "mysql.plugin" or "mysql.component" tables, this is a finding.

Fix Text

Remove permissions from users who should not have insert or update access to the "mysql.plugin" or "mysql.component" table.