| शीर्षक | OUSL-GROUP-BrinaryBrains School-Student-Management-System 1.0 Insecure Direct Object Reference |
|---|
| विवरण | The `marks` method in the `Parents` controller accepts a student ID directly from the URL (via `$param1`) and passes it to the view without verifying that the student belongs to the currently logged‑in parent:
```php
function marks($param1 = '')
{
if ($this->session->userdata('parent_login') != 1)
redirect(base_url(), 'refresh');
$page_data['student_id'] = $param1;
$this->load->view('backend/index', $page_data);
}
```
The corresponding views (marks.php, class_routine.php) then use this student ID to fetch and display the student’s marks or class routine:
```
$child_of_parent = $this->db->get_where('student', array(
'student_id' => $student_id
))->result_array();
``` |
|---|
| स्रोत | ⚠️ https://github.com/OUSL-GROUP-BrinaryBrains/School-Student-Management-System/issues/25 |
|---|
| उपयोगकर्ता | AHPCZBY (UID 97884) |
|---|
| सबमिशन | 04/05/2026 11:01 PM (1 महीना पहले) |
|---|
| संयम | 30/05/2026 11:31 AM (26 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 367422 [OUSL-GROUP-BrinaryBrains School Student Management System तक 1e70e5ad1125b86dca4ee086eb6bb121f17708b6 Parents.php marks param1 अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|