Re: Replacing MD5 hash in pg_auth...

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: Replacing MD5 hash in pg_auth...
Дата
Msg-id slrne46ucc.222p.andrew+nonews@atlantis.supernews.net
обсуждение исходный текст
Ответ на Replacing MD5 hash in pg_auth...  ("Peter van der Maas" <peter@abitogroup.com>)
Список pgsql-general
On 2006-04-15, "Peter van der Maas" <peter@abitogroup.com> wrote:
> Hello,
>
> Is it correct to assume that if a user has write permission to
> \data\global\pg_auth on a Win32 machine, the superuser's MD5 hash can be
> replaced with one of a known origin in order to own the DB?

It's worse than that. If you can _read_ pg_auth, then you can log in as
any user who has an MD5 password provided that pg_hba.conf allows md5
auth - the values stored in pg_auth (and pg_shadow) are password equivalents
for the purposes of md5 auth.

--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services

В списке pgsql-general по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Google Summer of Code (Fix aggregate operators & Implement features such as Data Cubes and Skyline)
Следующее
От: "surabhi.ahuja"
Дата:
Сообщение: Re: hard shutdown of system