PHP5.1.6、4.4.4及以前版本中,在查找關(guān)于“htmlspecialchars() and htmlentities() ”相關(guān)字符編碼的時(shí)候,當(dāng)UTF-8編碼被選擇的時(shí)候可能會觸發(fā)一個可能的緩沖器溢出。
“While we were searching for a hole in htmlspecialchars() and htmlentities() to bypass the encoding of certain chars to exploit a possible eval() injection hole in another application we discovered that the implementation contains a possible bufferoverflow that can be triggered when the UTF-8 charset is selected.”
最新發(fā)行的PHP5版本5.2已經(jīng)修正了這個錯誤,但是該問題仍然在PHP4.4 版本中存在。全部信息可以在the full vulnerability 查看到。