| शीर्षक | code-projects Question Paper 1.0 SQL Injection |
|---|
| विवरण | Within the selectquestionuser.php script of the Question Paper Generator system, the subid parameter is retrieved directly from the user-supplied request (e.g., $_GET['subid'] or $_POST['subid']) and is immediately appended to the SQL query string through plain string concatenation.
Because the value is never validated, cast to an integer, or passed through a whitelist/escape routine, an attacker can inject arbitrary SQL fragments.
Typical payloads such as
subid=1 UNION SELECT 1,username,password,4,5 FROM admin--
or
subid=1 OR 1=1--
are executed verbatim by the database engine. |
|---|
| स्रोत | ⚠️ https://github.com/asd1238525/cve/blob/main/SQL17.md |
|---|
| उपयोगकर्ता | yuancoffee (UID 92877) |
|---|
| सबमिशन | 23/11/2025 11:30 AM (10 महीनों पहले) |
|---|
| संयम | 07/12/2025 08:54 AM (14 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 334646 [code-projects Question Paper Generator तक 1.0 /selectquestionuser.php subid SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|