| タイトル | 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日 11:30 (7 月 ago) |
|---|
| モデレーション | 2025年12月07日 08:54 (14 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 334646 [code-projects Question Paper Generator 迄 1.0 /selectquestionuser.php subid SQLインジェクション] |
|---|
| ポイント | 20 |
|---|