SV-235178r638812_rule
V-235178
SRG-APP-000389-DB-000372
MYS8-00-010400
CAT II
10
Modify and/or configure MySQL and related applications and tools so that users are always required to reauthenticate when changing role or escalating privileges.
To make a single user reauthenticate, the following must be present:
KILL CONNECTION processslist_id;
Determine all situations where a user must reauthenticate. Check if the mechanisms that handle such situations use the following SQL:
To make a single user reauthenticate, an existing connection must be present:
To search for a specific user:
SELECT * FROM information_schema.PROCESSLIST where user ='<name> and host like '%';
To review all connections:
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
Note the ID(s) (processlist_id) of the connection(s) for the user that must reauthenticate.
To make a user reauthenticate, run the following for each ID returned above (as they can have multiple connections):
KILL CONNECTION processslist_id;
If the provided SQL does not force reauthentication, this is a finding.
V-235178
False
MYS8-00-010400
Determine all situations where a user must reauthenticate. Check if the mechanisms that handle such situations use the following SQL:
To make a single user reauthenticate, an existing connection must be present:
To search for a specific user:
SELECT * FROM information_schema.PROCESSLIST where user ='<name> and host like '%';
To review all connections:
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
Note the ID(s) (processlist_id) of the connection(s) for the user that must reauthenticate.
To make a user reauthenticate, run the following for each ID returned above (as they can have multiple connections):
KILL CONNECTION processslist_id;
If the provided SQL does not force reauthentication, this is a finding.
M
5277