pgsql-server/src/interfaces/jdbc/org/postgresq ...

From: barry(at)svr1(dot)postgresql(dot)org (Barry Lind)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/interfaces/jdbc/org/postgresq ...
Date: 2003-08-07 17:56:28
Message-ID: 20030807175628.225DCD1C4ED@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: barry(at)svr1(dot)postgresql(dot)org 03/08/07 14:56:27

Modified files:
src/interfaces/jdbc/org/postgresql: Tag: REL7_3_STABLE
Driver.java.in
src/interfaces/jdbc/org/postgresql/jdbc1: Tag: REL7_3_STABLE
AbstractJdbc1Statement.java

Log message:
Backport to 7.3. Third try to fix the sql injection
vulnerability. This fix completely removes the ability (hack) of being able
to bind a list of values in an in clause. It was demonstrated that by allowing
that functionality you open up the possibility for certain types of
sql injection attacks. The previous fix attempts all focused on preventing
the insertion of additional sql statements (the semi-colon problem:
xxx; any new sql statement here). But that still left the ability to
change the where clause on the current statement or perform a subselect
which can circumvent applicaiton security logic and/or allow you to call
any stored function.

Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-08-07 19:20:25 pgsql-server/src backend/optimizer/plan/create ...
Previous Message Marc G. Fournier 2003-08-07 17:49:43 Testing gateway