yshop-crm through 2.1.3 Missing Authorization via contract-receivables check endpoint
guchengwuyue yshop-crm
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| guchengwuyue yshop-crm |
| No fix yet |
Original description
yshop-crm through 2.1.3 contains a missing authorization vulnerability that allows any authenticated back-office user to approve or reject receivables records by calling POST /admin-api/crm/contract-receivables/check. The handler lacks a @PreAuthorize check and the approver checks in CrmContractReceivablesServiceImpl.check are commented out, so attackers can approve records by id, inflating contract return_money and forging approval logs.
From the CVE record · VulnCheck