MADB-10-003800 - If passwords are used for authentication, MariaDB must store only hashed, salted representations of passwords.

Information

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 Authorizing Official (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.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Document all applications, scripts, etc., which connect to the database server. Ensure passwords, if stored, are encrypted and secure.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MariaDB_Enterprise_10-x_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|I, CCI|CCI-000196, CCI|CCI-004062, Rule-ID|SV-253697r1018600_rule, STIG-ID|MADB-10-003800, Vuln-ID|V-253697

Plugin: MySQLDB

Control ID: 38a4eefde8f2bd27ef3f368e94a1f499041d8822fb9c6e2aa59f75e05299b842