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

V-289367

CAT II (Medium)

The database management system (DBMS) must disable accounts when the accounts have expired.

Rule ID

SV-289367r1319427_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-003627

Discussion

Accounts that remain usable after their approved validity period has ended increase the risk of unauthorized access, especially for temporary, contractor, training, emergency, or otherwise time-bounded access. MySQL 9.x supports account password expiration and account locking controls that can be used to ensure expired accounts are not available for normal use.

Check Content

Review account management procedures and MySQL account status for expiration handling.

1. Identify accounts that are temporary, time limited, or otherwise subject to expiration under organizational policy.
2. Review MySQL account metadata and administrative procedures to determine how expired accounts are handled.
3. Verify expired accounts are disabled through account locking, deprovisioning, or equivalent administrative action.
4. Review account status and authentication attributes for sample accounts:
SELECT user, host, account_locked, password_expired FROM mysql.user ORDER BY user, host;
5. For accounts subject to expiration, verify that once the expiration condition is reached, the account is no longer usable for normal access.

If expired accounts remain enabled for normal use, this is a finding.

Fix Text

Configure MySQL 9.x account management procedures so accounts are disabled when they expire.

Use approved administrative processes to:
- Lock expired accounts;
- Remove expired accounts; or
- Otherwise prevent expired accounts from authenticating.

Example:
ALTER USER 'username'@'host' ACCOUNT LOCK;

Where password expiration is used as part of account lifecycle management, do not rely on password expiration alone if policy requires the account itself to be disabled. Ensure expiration events trigger account lock or deprovisioning in accordance with organizational policy.