MariaDB must generate audit records when privileges/permissions are deleted.
An XCCDF Rule
Description
<VulnDiscussion>Changes in the permissions, privileges, and roles granted to users and roles must be tracked. Without an audit trail, unauthorized elevation or restriction of privileges could go undetected. Elevated privileges give users access to information and functionality that they should not have; restricted privileges wrongly deny access to authorized users. In MariaDB, deleting permissions is typically done via the REVOKE command.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-253758r879870_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
No super/administrative users should not have access to modify tables within the mysql database. Verify users do not have access and revoke as necessary. Example:
View user grants:
MariaDB> SHOW GRANTS FOR 'username'@'host';