安全研究

安全漏洞
phpMyFAQ多个页面URL参数跨站脚本漏洞

发布日期:2009-12-01
更新日期:2009-12-03

受影响系统:
phpMyFAQ phpMyFAQ 2.5.x
不受影响系统:
phpMyFAQ phpMyFAQ 2.5.5
描述:
BUGTRAQ  ID: 37180
CVE(CAN) ID: CVE-2009-4780

phpMyFAQ是一款多语言、基于数据库的FAQ系统。

phpMyFAQ没有正确地过滤用户提交给多个页面的变量,远程攻击者可以通过特制的URL请求向页面的输出注入JavaScript代码,导致窃取域Cookie,如会话标识符。

<*来源:Amol Naik
  
  链接:http://secunia.com/advisories/37520/
        http://www.phpmyfaq.de/advisory_2009-12-01.php
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

http://[host]/index.php?action=sitemap&lang=[code]
http://[host]/index.php?action=search&search=[code]
http://[host]/index.php?action=search&tagging_id=[code]
http://[host]/index.php?action=artikel&highlight=[code]
http://[host]/index.php?action=artikel&artlang=[code]
http://[host]/index.php?action=sitemap&letter=[code]
http://[host]/index.php?action=show&lang=[code]
http://[host]/index.php?action=show&cat=[code]
http://[host]/index.php?action=news&newsid=1&newslang=[code]
http://[host]/index.php?action=send2friend&artlang=[code]
http://[host]/index.php?action=send2friend&cat=[code]
http://[host]/index.php?action=send2friend&id=[code]
http://[host]/index.php?action=translate&srclang=[code]
http://[host]/index.php?action=translate&id=[code]
http://[host]/index.php?action=translate&cat=[code]
http://[host]/index.php?action=add&cat=[code]
http://[host]/index.php?action=add&question=[code]

建议:
厂商补丁:

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

http://www.phpmyfaq.de/

浏览次数:3203
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障