| tiêu đề | SourceCodester Cafe and Restaurant Billing System e32c5d5 Missing Authorization |
|---|
| Mô tả | SourceCodester Cafe and Restaurant Billing System (commit e32c5d5) allows unauthenticated admin account creation. ajax.php, the single router for all backend actions, contains no session or authorization check. Action::save_user() in admin_class.php:61-81 runs extract($_POST) and builds INSERT INTO users including type='$type', which is fully attacker-controlled (schema defines 1=Admin, 2=Staff). An unauthenticated POST to ajax.php?action=save_user with type=1 creates an administrator; the attacker then logs in via the normal action=login flow and receives a full admin session. The same missing authorization also exposes pre-auth delete_user, save_product, delete_product, save_order, delete_order, save_category, and delete_category. CVSS 3.1 score 9.8 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Discovered by Santhosh Kumar, TraceX Labs. Vendor contact attempted via SourceCodester contact form (blocked by spam filter); public disclosure published at https://tracexlabs.com/releases/billing-preauth-admin.html. |
|---|
| Nguồn | ⚠️ https://tracexlabs.com/releases/billing-preauth-admin.html |
|---|
| Người dùng | SanthoshKumar (UID 101638) |
|---|
| Đệ trình | 25/09/2026 16:10 (cách đây 18 ngày) |
|---|
| Kiểm duyệt | 12/10/2026 23:00 (17 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 417228 [SourceCodester Simple Cafe Billing System 1.0 User Management admin_class.php Action::save_user type nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|