Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:16181
HistoryFeb 25, 2007 - 12:00 a.m.

Photostand_1.2.0 Multiple Cross Site Scripting

2007-02-2500:00:00
vulners.com
10

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