PHP 5.3.8 zend_builtin_functions.c define 拒绝服务漏洞

admin 2023-12-08 15:25:51 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 PHP 5.3.8 zend_builtin_functions.c define 拒绝服务漏洞

CVE编号

CVE-2011-4153

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2012-01-19
漏洞描述
PHP是一款HTML内嵌式语言。在zend_strndup()中 -zend_alloca.c--- ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length 1); if (UNEXPECTED(p == NULL)) { return p; <=== RETURN NULL } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } -zend_alloca.c--- zend_strndup()会返回NULL.在PHP代码中,许多zend_strndup()调用没有返回值,结果类似如下函数中:-zend_builtin_functions.c--- ZEND_FUNCTION(define) { char *name; int name_len; zval *val; zval *val_free = NULL; zend_bool non_cs = 0; int case_sensitive = CONST_CS; zend_constant c; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b",
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://archives.neohapsis.com/archives/bugtraq/2012-01/0092.html
http://cxsecurity.com/research/103
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
http://marc.info/?l=bugtraq&m=134012830914727&w=2
http://secunia.com/advisories/48668
http://www.exploit-db.com/exploits/18370/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 php php 5.3.8 -
运行在以下环境
系统 centos_5 php-pdo * Up to (excluding) 5.3.3-13.el5_8
运行在以下环境
系统 centos_6 php-pdo * Up to (excluding) 5.3.3-14.el6_3
运行在以下环境
系统 opensuse_12.1 php5-openssl-debuginfo * Up to (excluding) 5.3.8-4.9.2
运行在以下环境
系统 oracle_5 oraclelinux-release * Up to (excluding) 5.3.3-13.el5_8
运行在以下环境
系统 oracle_6 oraclelinux-release * Up to (excluding) 5.3.3-14.el6_3
运行在以下环境
系统 redhat_5 php * Up to (excluding) 0:5.1.6-39.el5_8
运行在以下环境
系统 redhat_6 php * Up to (excluding) 0:5.3.3-14.el6_3
运行在以下环境
系统 suse_12 apache2-mod_php5 * Up to (excluding) 5.5.14-4
阿里云评分 5.4
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 越权影响
  • EXP成熟度 POC 已公开
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-20 输入验证不恰当
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0