Xine文件名处理远程格式串漏洞
发布日期:2006-05-01
更新日期:2006-05-01
受影响系统:xine xine-ui 0.99.4
描述:
BUGTRAQ ID:
17769
Xine是Linux系统下播放VCD/DVD的程序。
Xine在处理特制文件名时存在格式串漏洞,远程攻击者可以通过诱骗用户访问包含有格式串的恶意文件名导致执行任意代码。
漏洞代码:
在src/xitk/main.c中:
/* (file name or mrl) */
case XINE_MSG_FILE_NOT_FOUND:
snprintf(buffer, sizeof(buffer), "%s", _("The specified file or mrl is not \
found. Please check it twic e."));
if(data->explanation)
sprintf(buffer, "%s (%s)", buffer, (char *) data + data->parameters);
break;
<*来源:KaDaL-X (
king_purba@yahoo.co.uk)
链接:
http://marc.theaimsgroup.com/?l=bugtraq&m=114651204028241&w=2
*>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
在unix控制台中输入:
kandangjamur$xine %p-%p.mp3
然后会返回两个错误警告框:
1. There is no input pluggin available to handle
2. The specified file or mrl Plese check it twice (0x811ac8e-0xbe1fdabc.mp3) <-- 格式串错误
建议:
厂商补丁:
xine
----
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
http://xinehq.de/浏览次数:2379
严重程度:0(网友投票)