| Titolo | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authentication |
|---|
| Descrizione | The affected component is `includes/invoice_bill.php`, which generates PDF invoices via FPDF from GET parameters and writes them under `PDF_INVOICE/` using attacker-controlled `invoice_no`. The script starts a session but never validates login:
```php
session_start();
include_once("../fpdf/fpdf.php");
if ($_GET["order_date"] && $_GET["invoice_no"]) {
...
$pdf->Output("../PDF_INVOICE/PDF_INVOICE_".$_GET["invoice_no"].".pdf","F");
$pdf->Output();
}
```
An unauthenticated attacker can generate and persist arbitrary invoice PDFs on the server using crafted GET parameters.
|
|---|
| Fonte | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/14 |
|---|
| Utente | Missa (UID 98182) |
|---|
| Sottomissione | 30/07/2026 18:13 (1 mese fa) |
|---|
| Moderazione | 09/09/2026 18:12 (1 month later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 401811 [Rizwan17 inventory-management-system fino a bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Invoice Generation invoice_bill.php order_date/invoice_no autenticazione debole] |
|---|
| Punti | 20 |
|---|