加入收藏 设为首页
博客 友圈 商城
留言 搜索 投搞
首页 | 网络动态 | 技术文章 | 下载中心 | 设计 | 摄影 | 精彩Flash | 摄影作品 | 顶客排行 | 悠乐论坛
>首页 -> 网络动态 -> 漏洞安全

TOP

Gregarius RSS聚合器下/ajax.php文件SQL注入漏洞
[ 录入者:riqukiqpl | 时间:2008-07-31 14:31:25 | 作者: | 来源: | 浏览:29次 ]
简介:受影响系统:Marco Bonetti Gregarius <= 0.5.4 描述:Gregarius是基于php的RSS聚合器,可以将所设定的源聚合在一起,以HTML或者XML方式输出。 Gregarius的/ajax.php文件中存在多个SQL注入漏洞,允许远程攻..

受影响系统:
Marco Bonetti Gregarius <= 0.5.4

描述:
Gregarius是基于php的RSS聚合器,可以将所设定的源聚合在一起,以HTML或者XML方式输出。

Gregarius的/ajax.php文件中存在多个SQL注入漏洞,允许远程攻击者无需认证便可获得管理凭据。以下是有漏洞的代码段:

function __exp__getFeedContent($cid) {
    ob_start();
    rss_require('cls/items.php');
   
    $readItems = new ItemList();

    $readItems -> populate(" not(i.unread & ". RSS_MODE_UNREAD_STATE  .")
    and i.cid= $cid", "", 0, 2, ITEM_SORT_HINT_READ);
    $readItems -> setTitle(LBL_H2_RECENT_ITEMS);
    $readItems -> setRenderOptions(IL_TITLE_NO_ESCAPE);
    foreach ($readItems -> feeds[0] -> items as $item) {
        $item -> render();
    }
    $c = ob_get_contents();
   
    ob_end_clean();
    return "$cid|@|$c";
}

sajax_handle_client_request()调用上面的函数并允许攻击者通过rsargs[]数组指定$cid的内容,因此无论magic_quotes_gps设置如何都可以影响查询。

厂商补丁:
Marco Bonetti
-------------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
http://gregarius.net/


0
】【打印繁体】【投稿】【收藏】 【推荐】【举报】 【关闭】 【返回顶部
[上一篇]phpMyAdmin工具中setup.php文件跨.. [下一篇]IceBB开源论坛系统含有$username..

评论

称  呼:
内  容:

相关栏目

最新文章

热门文章

推荐文章

相关文章

广告位