| Título | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Improper Access Controls |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/15 |
|---|
| Utilizador | sybululu (UID 100270) |
|---|
| Submissão | 01/08/2026 09h38 (há 1 mês) |
|---|
| Moderação | 12/09/2026 17h51 (1 month later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 403150 [Rizwan17 inventory-management-system até bfe78a330d01bb26b9daec5dc9ecd5c77900e03f dashboard.php userid Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|