Check: MADB-10-003800
MariaDB Enterprise 10.x STIG:
MADB-10-003800
(in versions v1 r3 through v1 r2)
Title
If passwords are used for authentication, MariaDB must store only hashed, salted representations of passwords. (Cat I impact)
Discussion
The DoD standard for authentication is DoD-approved PKI certificates. Authentication based on User ID and Password may be used only when it is not possible to employ a PKI certificate and requires AO approval. In such cases, database passwords stored in clear text, using reversible encryption, or using unsalted hashes would be vulnerable to unauthorized disclosure. Database passwords must always be in the form of one-way, salted hashes when stored internally or externally to the MariaDB.
Check Content
MariaDB stores passwords encrypted. When querying users, the passwords are displayed encrypted. However, third-party applications, scripts, etc., might be storing passwords. In such cases, it is important to ensure these passwords are encrypted. Check all third-party applications, scripts, etc., which connect to the database and verify the passwords are encrypted. If any passwords are found in clear text, this is a finding.
Fix Text
Document all applications, scripts, etc., which connect to the database server. Ensure passwords, if stored, are encrypted and secure.
Additional Identifiers
Rule ID: SV-253697r879608_rule
Vulnerability ID: V-253697
Group Title: SRG-APP-000171-DB-000074
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000196 |
The information system, for password-based authentication, stores only cryptographically-protected passwords. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |