The MySQL Database Server 8.0 must generate audit records when privileges/permissions are modified.
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 individuals and groups 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 a SQL environment, modifying permissions is typically done via the GRANT, REVOKE, and DENY commands.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-235113r879866_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the MySQL Database Server to audit when privileges/permissions are added.
Add the following events to the MySQL Server Audit that is being used for the STIG compliance audit:
grant
grant_roles
revoke