PostgreSQL
TMA-POSTGRES-5.6
Ensure Password Complexity is configured
MittelStufe 1Manuelle Prüfungpostgres
Beschreibung
Password complexity configuration is crucial to restrict unauthorized access to data. By default, PostgreSQL doesn't provide for password complexity. Moreover, many compliance frameworks such as PCI DSS, and HIPPA require both password complexity and length.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
Run SHOW shared_preload_libraries; and SHOW dynamic_library_path; If $libdir/passwordcheck (or passwordcheck when dynamic_library_path is $libdir) is not listed in shared_preload_libraries, this is a failure.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Add '$libdir/passwordcheck' to shared_preload_libraries in postgresql.conf (keep existing entries), optionally set passwordcheck.min_password_length, and restart PostgreSQL.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- postgresdatabaseauthenticationpasswordmanual
- Referenz
- CIS PostgreSQL 18 Benchmark v1.0.0 - 5.6 Ensure Password Complexity is configured