Opened 15 years ago
Closed 15 years ago
#1533 closed defect (wontfix)
DB接続時のSET NAMESクエリにSQLインジェクションの危険がある
Reported by: | ebihara | Owned by: | nobody |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | その他 | Version: | 2.8.x & 2.10.x & 2.11.x |
Keywords: | Cc: |
Description
関連チケット:#1510
OpenPNE_DB::_connect()で SET NAMES クエリを実行しているが、SQLインジェクションの危険がある可能性があり、好ましくない。
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Keywords: | OpenPNE2.8.10 OpenPNE2.11.5 added |
---|---|
Milestone: | → OpenPNE2.10.5 |
comment:3 Changed 15 years ago by
Keywords: | OpenPNE2.8.10 OpenPNE2.11.5 removed |
---|---|
Milestone: | OpenPNE2.10.5 |
Resolution: | → wontfix |
Status: | new → closed |
PHP4系をサポートしなければならない以上、OpenPNE2.x での対応は困難です。
UTF-8を使っている限り致命的な問題ではないので、wontfixでクローズすることにします。
Note: See
TracTickets for help on using
tickets.
とはいえ、UTF-8でも起こりうるかどうかは怪しいところです(もちろん mysql_set_charset() が使えるなら使った方がよいのはたしかですが)。
参考:http://www.postgresql.org/docs/techdocs.50