| 标题 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authentication |
|---|
| 描述 | 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.
|
|---|
| 来源 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/14 |
|---|
| 用户 | Missa (UID 98182) |
|---|
| 提交 | 2026-07-30 18時13分 (1 月前) |
|---|
| 管理 | 2026-09-09 18時12分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 401811 [Rizwan17 inventory-management-system 直到 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Invoice Generation invoice_bill.php order_date/invoice_no 弱身份验证] |
|---|
| 积分 | 20 |
|---|