« エンティティ化された文字による任意コード実行PHP開発者とユーザが知っておくべきシェルコマンドエスケープの内部処理 »

4 comments

Comment from: sharl [Visitor]
バンドルされているGDライブラリを使っている場合のみ、再現しますね。適切に対処されている外部GDライブラリならば、問題なしです。
CVSにパッチはありました。
2009/01/05 @ 15:55
Comment from: Yasuo Ohgaki [Member] Email · http://www.ohgaki.net/
実はバンドルされているライブラリは放置されている事が多いです。gdだけでなく、libmysqlもかなり長い間放置されていました。

GD自体のメンテナンス状態もかなり怪しいのですが、ディストリビューションは独自のセキュリティパッチでGDに当てている事がほとんどです。なので

./configure --with-gd=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr

といった感じでシステムのGDライブラリを使っていれば大丈夫な事も多いです。
2009/01/05 @ 21:39
Comment from: naozou [Visitor]
***--
suhosinを使ってもダメですか?

2009/01/06 @ 22:41
Comment from: Yasuo Ohgaki [Member] Email · http://www.ohgaki.net/
>suhosinを使ってもダメですか?

確かめていませんが、この問題は本来GDの問題なのでshuhosinでは対応できないと思います。
2009/01/07 @ 08:29

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)