제출 #970932: SourceCodester Drug Recommendation System 1.0 SQL Injection정보

제목SourceCodester Drug Recommendation System 1.0 SQL Injection
설명A SQL injection vulnerability exists in SourceCodester Drug Recommendation System 1.0 in Admin/edit_class.php. The GET parameter `id` is directly concatenated into the SQL query `SELECT * FROM classes where school_id='$school_id' and id='$id'` without sanitization or parameter binding. Authentication is required but no role check is enforced. The variable `$school_id` is also referenced uninitialized. Proof of Concept (authenticated): GET /Admin/edit_class.php?id=1' UNION SELECT 1,2,3,4,5,6,7,8,9-- - Cookie: PHPSESSID=<valid> Time-based blind: GET /Admin/edit_class.php?id=1' AND SLEEP(5)-- - Impact: An authenticated attacker can extract database contents and execute arbitrary SQL commands. CWE-89, CVSS v3.1 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
원천⚠️ https://www.sourcecodester.com/php/18278/drug-recommender-web-app-student-project.html
사용자
 swj99557271 (UID 101148)
제출2026. 09. 10. AM 05:49 (25 날 ago)
모더레이션2026. 10. 04. AM 10:50 (24 days later)
상태수락
VulDB 항목413408 [SourceCodester Drug Recommendation System 1.0 /Admin/edit_class.php id SQL 주입]
포인트들20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!