Check: MADB-10-012000
MariaDB Enterprise 10.x STIG:
MADB-10-012000
(in versions v1 r3 through v1 r2)
Title
MariaDB must generate audit records for all direct access to the database(s). (Cat II impact)
Discussion
In this context, direct access is any query, command, or call to MariaDB that comes from any source other than the application(s) that it supports. Examples would be the command line or a database management utility program. The intent is to capture all activity from administrative and nonstandard sources.
Check Content
Check what filters are in place by running the following as an administrative user: MariaDB> SELECT * FROM mysql.server_audit_filters; Verify connect_events include connect in audit filters. If not, this is a finding.
Fix Text
Edit the necessary filters to include connect_events connect. Example: MariaDB> DELETE FROM mysql.server_audit_filters WHERE filtername = 'default'; MariaDB> INSERT INTO mysql.server_audit_filters (filtername, rule) VALUES ('default', JSON_COMPACT( '{ "connect_event":"CONNECT" }' ));
Additional Identifiers
Rule ID: SV-253772r879879_rule
Vulnerability ID: V-253772
Group Title: SRG-APP-000508-DB-000358
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000172 |
The information system generates audit records for the events defined in AU-2 d. with the content defined in AU-3. |
Controls
Number | Title |
---|---|
AU-12 |
Audit Generation |