Description
yshop-crm through 2.1.3 contains a missing authorization vulnerability that allows any authenticated back-office user to approve or reject invoices via POST /admin-api/crm/invoice/check. The CrmInvoiceController check handler lacks @PreAuthorize and approver checks are commented out, letting attackers bypass the invoice approval workflow by supplying any invoice id.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| guchengwuyue | yshop-crm | ≤ 2.1.3 | — |
References
- Researcher Proof of Concept exploit
- Vulnerable Code technical-description
- Vulnerable Code technical-description
- Permission Seed Data technical-description
- VulnCheck Advisory: yshop-crm through 2.1.3 Missing Authorization via invoice check endpoint third-party-advisory