PHP原版HTML编码器溢出问题的解决 |
PHP5.1.6、4.4.4及以往版本中,在搜索对于“htmlspecialchars() and htmlentities() ” 有关字符编码的时候,当UTF-8编码被 取舍的时候可能会触发一个可能的缓冲器溢出 。 “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.” 最新发行的PHP5版本5.2已经 修改了这个 舛误,然而该问题 依旧在PHP4.4 版本中存在 。所有信息 可以在the full vulnerability 查看到 。 |