| 标题 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Improper Access Controls |
|---|
| 描述 | The affected pages are `dashboard.php`, `manage_brand.php`, `manage_categories.php`, `manage_product.php`, and `new_order.php`. Each checks for a session and issues a redirect, but continues rendering the protected HTML body because `exit`/`die` is never called:
```php
if (!isset($_SESSION["userid"])) {
header("location:".DOMAIN."/");
}
```
HTTP clients that do not auto-follow redirects (or that ignore Location) receive a 302 status with the full authenticated UI markup, disclosing admin navigation, forms, and application structure. |
|---|
| 来源 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/15 |
|---|
| 用户 | sybululu (UID 100270) |
|---|
| 提交 | 2026-08-01 09時38分 (1 月前) |
|---|
| 管理 | 2026-09-12 17時51分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403150 [Rizwan17 inventory-management-system 直到 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f dashboard.php userid 权限提升] |
|---|
| 积分 | 20 |
|---|