Re: Application name patch - v2

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Application name patch - v2
Дата
Msg-id 937d27e10910190312p4fc9b377s42ae7bcd5e751216@mail.gmail.com
обсуждение исходный текст
Ответ на Application name patch - v2  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Application name patch - v2  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Mon, Oct 19, 2009 at 10:45 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:

> sure, you have to fix fulnerable application. But with some
> unsophisticated using %a and using wrong tools, the people can be
> blind and don't register an SQL injection attack.

If they're logging the statements (which they presumably are if
looking for unusual activity), then they'll see the attack:

dpage@myapp: LOG:  connection authorized: user=dpage database=postgres
dpage@myapp: LOG:  statement: set application_name='hax0red';
dpage@hax0red: LOG:  disconnection: session time: 0:00:20.152
user=dpage database=postgres host=[local]


-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Application name patch - v2
Следующее
От: Dave Page
Дата:
Сообщение: Re: Application name patch - v2