إرسال #992051: SourceCodester Drug Recommendation System Using Machine Learning 1.0 (SourceCodester Release 18278) Improper Authentication (Broken Access Control)المعلومات

عنوانSourceCodester Drug Recommendation System Using Machine Learning 1.0 (SourceCodester Release 18278) Improper Authentication (Broken Access Control)
الوصفEvery protected Admin page uses the same flawed auth guard: it sends a `Location` redirect when `$_SESSION['user_id']` is empty, but then **fails to call `exit()`/`die()`**. In PHP, `header("Location: ...")` merely queues an HTTP header; it does **not** stop execution. As a result the sensitive code that follows the guard — reading datasets, deleting users/patients/symptoms, enabling/disabling accounts, changing passwords, executing SQL — runs even for anonymous, unauthenticated requests. This single class of defect is the linchpin that makes VULN-01 (unauthenticated SQLi), stored XSS rendering, and all destructive operations reachable from outside.
المصدر⚠️ https://github.com/hackliu/Vulnerability-Reports/blob/master/Drug-Recommender-Web-App/VULN-02-Broken-Access-Control.md
المستخدم BI1IHA (UID 69245)
ارسال19/09/2026 11:27 AM (1 شهر منذ)
الاعتدال05/10/2026 08:23 PM (16 days later)
الحالةتمت الموافقة
إدخال VulDB413697 [SourceCodester Drug Recommendation System 1.0 Auth Guard user_id توثيق ضعيف]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!