Rule ID
SV-289274r1319165_rule
Version
V1R1
CCIs
Without the capability to restrict which roles and individuals can select which events are audited, unauthorized personnel may be able to prevent or interfere with the auditing of critical events. Suppression of auditing could permit an adversary to evade detection. Misconfigured audits can degrade the system's performance by overwhelming the audit log. Misconfigured audits may also make it more difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. "AUDIT_ADMIN" enables audit log configuration. This privilege is provided for administration of the MySQL Enterprise Audit component. "SUPER" is a powerful and far-reaching privilege and should not be granted lightly.
Check MySQL settings and documentation to determine whether designated personnel are able to select which auditable events are being audited.
To list out users who have rights to administrative access for auditing, run the following query:
SELECT * FROM INFORMATION_SCHEMA.USER_PRIVILEGES where PRIVILEGE_TYPE in ('AUDIT_ADMIN', 'SUPER');
If any of the roles or users returned have permissions that are not documented, or the documented audit maintainers do not have permissions, this is a finding.Configure the MySQL Database Server 9.x settings to allow designated personnel to select which auditable events are audited. Grant permissions to users who need rights to create auditing rules: GRANT AUDIT_ADMIN ON *.* TO '<auditusername>'@'<host_specification>'; For example: GRANT AUDIT_ADMIN ON *.* TO 'auditusername'@'%';