vendor:
PostgreSQL
by:
SecurityFocus
7.5
CVSS
HIGH
Password Disclosure
200
CWE
Product Name: PostgreSQL
Affected Version From: All
Affected Version To: All
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: All
2002
PostgreSQL Password Disclosure Vulnerability
PostgreSQL stores passwords for database users in a binary file called pg_shadow. This file is readable by root and the postgres user. Unfortunately, these passwords are stored in cleartext form and can be obtained if a user with read access to the file runs strings on it.
Mitigation:
Ensure that the pg_shadow file is only readable by root and the postgres user.