| tiêu đề | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authentication |
|---|
| Mô tả | 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.
|
|---|
| Nguồn | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/14 |
|---|
| Người dùng | Missa (UID 98182) |
|---|
| Đệ trình | 30/07/2026 18:13 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 09/09/2026 18:12 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 401811 [Rizwan17 inventory-management-system đến bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Invoice Generation invoice_bill.php order_date/invoice_no xác thực yếu] |
|---|
| điểm | 20 |
|---|