Lazarus Guestbook 1.6 - 'picture.php?img' Cross-Site Scripting

EDB-ID:

28212


Author:

simo64

Type:

webapps


Platform:

PHP

Date:

2006-07-12


source: https://www.securityfocus.com/bid/18956/info
 
Lazarus Guestbook is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input. 
 
An attacker may leverage these issues to have arbitrary script code execute 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.
 
These issues affect version 1.6; other versions may also be vulnerable.

http://www.example.com/lazarusgb/picture.php?img=../img/home.gif%00%22%3E[XSS] 
http://www.example.com/lazarusgb/picture.php?img=../img/home.gif%00%22%3E<script>alert(document.cookie);</script>