当前位置: 首页 > 图文教程 > 网络编程 > PHP > PHP原版HTML编码器溢出问题的解决

PHP
Php+SqlServer实现分页显示
在WIN98下以apache模块方式安装php
也谈 PHP 和 MYSQL
用Php实现链结人气统计
简单易用的计数器(数据库)
文件上传的实现
php的header和asp中的redirect比较
用PHP制作静态网站的模板框架(一)
用PHP制作静态网站的模板框架(二)
用PHP制作静态网站的模板框架(三)
用PHP制作静态网站的模板框架(四)
在 PHP 中使用随机数的三个步骤
通过html表格发电子邮件
一个简单的自动发送邮件系统(二)
一个简单的自动发送邮件系统(一)
一个简单的自动发送邮件系统(三)
透析PHP的配置文件php.ini
将数字格式的计算结果转为汉字格式
BBS(php & mysql)完整版(三)
BBS(php & mysql)完整版(二)

PHP原版HTML编码器溢出问题的解决


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 194 ::
收藏到网摘: n/a

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 查看到。