Re: BUG #5687: RADIUS Authentication issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5687: RADIUS Authentication issues
Дата
Msg-id 14007.1286059961@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5687: RADIUS Authentication issues  ("Alan DeKok" <aland@freeradius.org>)
Ответы Re: BUG #5687: RADIUS Authentication issues
Re: BUG #5687: RADIUS Authentication issues
Список pgsql-bugs
"Alan DeKok" <aland@freeradius.org> writes:
> CheckRADIUSAuth() in src/backend/libpq/auth.c is subject to spoofing attacks
> which can force all RADIUS authentications to fail.
> ...
> The source IP/port/RADIUS ID && authentication vector fields are checked
> *after* the socket is closed.  This allows an attacker to "race" the RADIUS
> server, and spoof the response, forcing PostgreSQL to treat the
> authentication as failed.

[ scratches head ... ]  I don't see the problem.  AFAICS the "verify
packet" code is just looking at local storage.  Where is the spoofing
possibility, and why would delaying the socket close accomplish
anything?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: src/tools/fsync/test_fsync.c does not compile
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Postgres 9.0 crash on win7