Inurl Indexphpid - [patched]
inurl:index.php?id filetype:php
A SQL injection vulnerability existed in a simple content management system written in PHP. The id parameter in index.php was not sanitized before being passed to the SQL query. An unauthenticated attacker could therefore use a payload like GET /web/index.php?id=1 UNION SELECT 1,database(),3-- - to extract sensitive data from the database, including database names, tables, and even user credentials. The database name was reflected on the page, confirming the vulnerability. The impact of this flaw was classified as , allowing an attacker to dump the entire database. inurl indexphpid
Never trust user input. Ensure the id parameter is forced to an integer (e.g., (int)$_GET['id'] ). inurl:index