| 제목 | 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) |
|---|
| 제출 | 2025. 11. 23. AM 11:30 (7 개월 ago) |
|---|
| 모더레이션 | 2025. 12. 07. AM 08:54 (14 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 334646 [code-projects Question Paper Generator 까지 1.0 /selectquestionuser.php subid SQL 주입] |
|---|
| 포인트들 | 20 |
|---|