212Cafe Guestbook 4.00 - 'show.php' Cross-Site Scripting

EDB-ID:

29507

CVE:

N/A




Platform:

PHP

Date:

2007-01-22


Become a Certified Penetration Tester

Enroll in Advanced Web Attacks and Exploitation , the course required to become an Offensive Security Web Expert (OSWE)

GET CERTIFIED

source: https://www.securityfocus.com/bid/22173/info

212Cafe Guestbook is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage this issue 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.

Version 4.00 beta is vulnerable; other versions may also be affected. 

http://www.example.com/guestbookv4.0/show.php?user='><script>alert(document.cookie);</script>