PHP Scripts Now Riddles - '/riddles/results.php?searchQuery' Cross-Site Scripting

EDB-ID:

34902


Author:

Moudi

Type:

webapps


Platform:

PHP

Date:

2009-08-20


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

PHP Scripts Now Riddles is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

http://www.example.com/results.php?searchquery=1<script>alert(308297104532)</script>&search=Search