Maran PHP Blog - 'comments.php' Cross-Site Scripting

EDB-ID:

32090


Author:

Dr.Crash

Type:

webapps


Platform:

PHP

Date:

2008-07-21


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

Maran PHP Blog 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 let the attacker steal cookie-based authentication credentials and launch other attacks.

http://www.example.com/comments.php?id=%3E%3C%3E%27%3Cscript%3Ealert(document.cookie)%3C/script%3E