加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_泰州站长网 (http://www.0523zz.com/)- 视觉智能、AI应用、CDN、行业物联网、智能数字人!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

PHP原版HTML编码器溢出问题的处理

发布时间:2022-08-02 21:03:18 所属栏目:PHP教程 来源:互联网
导读:PHP5.1.6、4.4.4及以前版本中,在查找关于htmlspecialchars and htmlentities相关字符编码的时候,当UTF-8编码被选择的时候可能会触发一个可能的缓冲器溢出。 While we were searching for a hole in htmlspecialcharsand htmlentitiesto bypass the encod
  PHP5.1.6、4.4.4及以前版本中,在查找关于“htmlspecialchars and htmlentities”相关字符编码的时候,当UTF-8编码被选择的时候可能会触发一个可能的缓冲器溢出。
 
  “While we were searching for a hole in htmlspecialcharsand htmlentitiesto 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 查看到。
 

(编辑:云计算网_泰州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读