Re: dblink connection security

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink connection security
Дата
Msg-id 23070.1183998587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dblink connection security  (Joe Conway <mail@joeconway.com>)
Ответы Re: dblink connection security
Re: dblink connection security
Список pgsql-patches
Joe Conway <mail@joeconway.com> writes:
> But if you know of a security risk related to using libpq
> with a password authenticated connection, let's hear it.

As near as I can tell, the argument is that dblink might be used to send
connection-request packets to random addresses.  Now this is only a
security issue if the attacker could not have reached such an address
directly; otherwise he might as well send the packet himself (and have a
lot more control over its content).  So I guess the scenario is that
you're running your database on your firewall machine, where it is
accessible from outside your net but also can reach addresses inside.
And you're letting untrustworthy outside people log into the database.
And you put dblink on it for them to use.  And even then, the amount of
damage they could do seems pretty limited due to lack of control over
the packet contents.

To me this scenario is too far-fetched to justify sacrificing
convenience and backwards compatibility.  It should be sufficient to add
some paragraphs about security considerations to the dblink docs.

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: dblink connection security
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: dblink connection security