Gửi #963710: onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d Improper Authenticationthông tin

tiêu đềonetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d Improper Authentication
Mô tảAffected: `php/sessions.php` (lines 1-8), included from `bones/a_assets.php` (line 1) by every admin page (`index.php`, `accounts.php`, `patient_info.php`, `transaction_details.php`, `print.php`, `edit_*.php`, ...). The only authentication check is `$id = @$_SESSION['id']; if(isset($id)){ /* nothing */ } else { to("login.php"); }` and `to()` merely executes `header("location:$url")` without calling `exit`. PHP therefore continues rendering the whole 'protected' page after sending the redirect. An unauthenticated attacker who does not follow redirects (e.g. curl) receives every admin page, including all patient records, physician records, account lists and transaction data - i.e. authentication can be completely bypassed.
Nguồn⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/6
Người dùng
 yukong (UID 101057)
Đệ trình07/09/2026 19:50 (cách đây 26 ngày)
Kiểm duyệt02/10/2026 06:24 (24 days later)
Trạng tháiđược chấp nhận
Mục VulDB412926 [onetwothreeneth HospitalManagementSystem đến 9ef91ed6007314b6473110ed699dff76d158f61d php/sessions.php id xác thực yếu]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!