提交 #700153: code-projects Question Paper 1.0 SQL Injection信息

标题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分 (11 月前)
管理2025-12-07 08時54分 (14 days later)
状态已接受
VulDB条目334646 [code-projects Question Paper Generator 直到 1.0 /selectquestionuser.php subid SQL注入]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!