Simple Machines X-Forwarded-For ‘Sources/Register.php’跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1195934 漏洞类型 跨站脚本
发布时间 2006-02-24 更新时间 2006-04-10
CVE编号 CVE-2006-0896 CNNVD-ID CNNVD-200602-391
漏洞平台 N/A CVSS评分 4.3
|漏洞来源
https://www.securityfocus.com/bid/16841
https://cxsecurity.com/issue/WLB-2006030042
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200602-391
|漏洞详情
SimpleMachineForum(SMF)1.0.6的Sources/Register.php中存在跨站脚本攻击(XSS)漏洞。远程攻击者可以借助X-Forwarded-ForHTTP报头字段注入任意Web脚本或HTML。
|漏洞EXP
New eVuln Advisory:
Simple Machines Forum - SMF 'X-Forwarded-For' XSS Vulnerability
http://evuln.com/vulns/86/summary.html

--------------------Summary----------------
eVuln ID: EV0086
CVE: CVE-2006-0896
Software: Simple Machines Forum - SMF
Sowtware's Web Site: http://www.simplemachines.org/
Versions: 1.0.6
Critical Level: Harmless
Type: Cross-Site Scripting
Class: Remote
Status: Unpatched. Developer(s) contacted.
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

-----------------Description---------------
Vulnerable script: Sources/Register.php

Variable $_SERVER['HTTP_X_FORWARDED_FOR'] isn't properly sanitized. This can be used to post HTTP query with fake X-Forwarded-For value which may contain arbitrary html or script code. This code will be executed when administrator will open "View all members" section in Administrator's control panel .

Administrator's session is threatened.

--------------Exploit----------------------
Available at: http://evuln.com/vulns/86/exploit.html

--------------Solution---------------------
No Patch available.

--------------Credit-----------------------
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

Regards,
Aliaksandr Hartsuyeu
http://evuln.com - Penetration Testing Services
.
|受影响的产品
Simple Machines SMF 1.0.6 Simple Machines SMF 1.0.5 Simple Machines SMF 1.0.4 Simple Machines SMF 1.0.2 Simple Machines SMF 1.0 -beta5p Simple Machines SMF 1.0 -beta4p
|参考资料

来源:VUPEN
名称:ADV-2006-0726
链接:http://www.frsirt.com/english/advisories/2006/0726
来源:SECUNIA
名称:19004
链接:http://secunia.com/advisories/19004
来源:MISC
链接:http://evuln.com/vulns/86/summary.html
来源:XF
名称:smf-register-xss(24915)
链接:http://xforce.iss.net/xforce/xfdb/24915
来源:www.simplemachines.org
链接:http://www.simplemachines.org/community/index.php?topic=78841.0
来源:BID
名称:16841
链接:http://www.securityfocus.com/bid/16841
来源:BUGTRAQ
名称:20060306[eVuln]SimpleMachinesForum-SMF'X-Forwarded-For'XSSVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/426824/100/0/threaded
来源:OSVDB
名称:23480
链接:http://www.osvdb.org/23480
来源:SREASON
名称:545
链接:http://securityreason.com/securityalert/545
来源:VIM
名称:20060410VEndorACK:SimpleMachinesForumRegister.phpX-Forwarded-ForXSS
链接:http://attrition.org/pipermail/vim/2006-April/000682.html