Lucene search

K
exploitdbRobert van der MeulenEDB-ID:19875
HistoryApr 23, 2000 - 12:00 a.m.

PostgreSQL 6.3.2/6.5.3 - Cleartext Passwords

2000-04-2300:00:00
Robert van der Meulen
www.exploit-db.com
23

7.4 High

AI Score

Confidence

Low

0 Low

EPSS

Percentile

0.0%

source: https://www.securityfocus.com/bid/1139/info

PostgreSQL is a free RDBMS that is released under a Berkeley style license. 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. While this is only readable by root and the postgres user (by default), it allows either one (or whoever else has read access to the file) to get the passwords for all databases and bypass authentication completely.


SmellyCat:/var/postgres/data# strings pg_shadow
someaccountname
someaccountpassword
anotheraccountname
anotheraccountpassword
SmellyCat:/var/postgres/data#

7.4 High

AI Score

Confidence

Low

0 Low

EPSS

Percentile

0.0%