Description
yshop-crm through 2.1.3 contains a missing authorization vulnerability that allows any authenticated back-office user to approve or reject contracts by calling POST /admin-api/crm/contract/check. Because CrmContractController lacks @PreAuthorize and approver checks are commented out, attackers can approve contracts to alter customer deal and purchase data or reject them to return products to stock.
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 /admin-api/crm/contract/check third-party-advisory