Description
yshop-crm through 2.1.3 fails to enforce authorization checks on the CrmFlowController deleteFlowStep endpoint, allowing any authenticated back-office user to delete arbitrary approval workflow steps. Attackers can invoke the DELETE /admin-api/crm/flow/delete-step endpoint without required permissions to remove approval steps that control contract, receivable, and invoice finalization processes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| guchengwuyue | yshop-crm | ≤ 2.1.3 | — |
References
- Reporter proof of concept: approval-step deletion via /crm/flow/delete-step exploit
- deleteFlowStep declared without @PreAuthorize while deleting a whole flow requires crm:flow:delete technical-description
- deleteFlowStep is an unguarded deleteById with no existence or ownership check technical-description
- Maven revision property showing the affected tree is version 2.1.3 technical-description
- yshop-crm source repository product
- VulnCheck Advisory: yshop-crm through 2.1.3 Missing Authorization via CrmFlowController deleteFlowStep third-party-advisory