提出 #864383: SourceCodester Online Examination & Learning Management System 1.0 NO情報

タイトルSourceCodester Online Examination & Learning Management System 1.0 NO
説明Title: Insecure Direct Object Reference (IDOR) in view.php An Insecure Direct Object Reference (IDOR) vulnerability exists in view.php of the CICT Portal (Online Examination & Learning Management System). The application accepts an "id" parameter in the URL (http://localhost/cictportal/view.php?id=7) to display content but fails to verify that the authenticated user has permission to access the requested resource. By manipulating the "id" parameter, any authenticated user can access content belonging to other users, including instructor-only materials, exam keys, and restricted lesson content. **Affected File:** view.php **Parameter:** id **Example URL:** http://localhost/cictportal/view.php?id=7 **Proof of Concept:** 1. Login as a standard student account. 2. Navigate to: http://localhost/cictportal/view.php?id=8 3. Change the "id" value to 2, 3, 5, 7, or any numeric value. 4. Observe that restricted content is displayed without permission errors or redirects. **Impact:** - Unauthorized access to instructor-only materials - Exposure of sensitive exam content and answer keys - Bypass of enrollment-based access controls - Privacy violation (accessing other users' content) **Root Cause:** The application uses a direct object reference (the "id" parameter) to retrieve content from the database without implementing server-side authorization checks. The system authenticates the user but fails to authorize access to the specific object. **Remediation:** - Implement server-side permission checks before displaying content - Verify user enrollment in the associated course - Use indirect references (UUIDs/tokens) instead of sequential IDs - Apply role-based access control (RBAC) to all object access - Implement the "deny by default" principle **CWE:** CWE-639 - Insecure Direct Object Reference **OWASP:** A01:2025 - Broken Access Control
ユーザー
 Adnan (UID 96526)
送信2026年06月20日 09:12 (2 月 ago)
モデレーション2026年08月06日 10:39 (2 months later)
ステータス承諾済み
VulDBエントリ386533 [SourceCodester Online Examination & Learning Management System 1.0 /view.php 識別子 特権昇格]
ポイント17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!