Photostand_1.2.0 Multiple Cross Site Scripting

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053039 漏洞类型
发布时间 2007-02-28 更新时间 2007-02-28
CVE编号 CVE-2007-1102
CVE-2007-1101
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2007020099
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
Photostand_1.2.0 Multiple Cross Site Scripting
Vendor site : http://www.photostand.org/
Global risk : medium

XSS 
-----

+ Permanents

Message & name fields are vulnerable to xss attacks. This kind of xss 
are pretty dangerous,because anyone who see the page gone get his cookie 
stolen and sended to the attackers

+ Non Permanant

index.php?page=search&q=<script>alert(document.cookie)</script>

Full Path Disclorure -
-----------------------

"PHPSESSID='" will returns the full path of the file.

GET /photostand_1.2.0/ HTTP/1.0
[...]
Cookie: PS_STATS_VT=true;PS_STATS_VR=true;PHPSESSID=';style=[blahblah]path=/
[...]

/photostand_1.2.0/index.php?page=article&id='   too.

Solutions : www.php.net/htmlentities

regards,

Simon Bonnard
contact : simon.itsecurity - at - gmail - dot- com