php5.2.3远程CGI缓冲溢出漏洞
所属分类:
网络安全 / 漏洞分析
阅读数:
91
收藏 0赞 0分享
php5.2.3在处理CGI的时候,由于一编程错误(缺少括号),错误计算一字符串长度,导致堆缓冲溢出,可能远程执行任意代码。
触发方式:配置.php到php.exe的CGI映射,请求GET /test.php/aa HTTP/1.1
错误发生在php-5.2.3\sapi\cgi\cgi-man.c line 886:
int path_translated_len = ptlen env_path_info ? strlen(env_path_info) : 0;
程序应该是
int path_translated_len = ptlen (env_path_info ? strlen(env_path_info) : 0);
程序处理流程:
main()
{
......
init_request_info(TSRMLS_C);
......
}
static void init_request_info(TSRMLS_D)
{
......
int path_translated_len = ptlen env_path_info ? strlen(env_path_info) : 0;
......
path_translated = (char *) emalloc(path_translated_len 1);
......
if (env_path_info) {
memcpy(path_translated ptlen, env_path_info, path_translated_len - ptlen);
}
}
Firebird protocol.cpp XDR协议远程内存破坏漏洞
受影响系统:
Firebird Firebird SQL 2.1.0 Beta 2
Firebird Firebird SQL 2.0.3
Firebird Firebird SQL 1.5.5
Firebird Firebird SQL 1.0.3
收藏 0赞 0分享
IrfanView FlashPix(*.fpx)文件远程堆溢出漏洞
受影响系统:
IrfanView IrfanView 4.10
描述:
IrfanView是一款快速、免费的图像查看器、浏览器、转换器。
IrfanView的FlashPix插件(fpx.dll)在处理FlashPix(*.fpx)文件时存在堆溢出漏洞
收藏 0赞 0分享
Firebird protocol.cppXDR协议远程内存破坏漏洞
受影响系统:
Firebird Firebird SQL 2.1.0 Beta 2
Firebird Firebird SQL 2.0.3
Firebird Firebird SQL 1.5.5
Firebird Firebird SQL 1.0.3
收藏 0赞 0分享
OpenBSD DHCPD 服务程序远程栈溢出漏洞
受影响系统:
OpenBSD OpenBSD 4.2
OpenBSD OpenBSD 4.1
OpenBSD OpenBSD 4.0
描述:
------------------------------------------------------
收藏 0赞 0分享
Windows柯达图像查看器远程代码执行漏洞
受影响系统:
Microsoft Windows XP SP2
Microsoft Windows Server 2003 SP2
Microsoft Windows Server 2003 SP1
Microsoft Window
收藏 0赞 0分享
微软 Windows RPC 认证远程拒绝服务漏洞
受影响系统:
Microsoft Windows XP SP2
Microsoft Windows Vista
Microsoft Windows Server 2003 SP2
Microsoft Windows Server 2
收藏 0赞 0分享
查看更多