Description (CNA)
jshERP through 3.6 contains a missing authorization vulnerability in the POST /user/batchSetStatus endpoint that allows authenticated low-privilege users to change other users' account status. Attackers can submit crafted ids and status values to disable every non-owner account in their tenant, locking out administrators, or re-enable disabled accounts.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jishenghua / jshERP | affected 0 through 3.6 |
CWE
CWE-862
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/jsherp-user-account-lifecycle-missing-authz
- https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/controller/UserController.java#L541-L555
- https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/service/UserService.java#L901-L946
- https://github.com/jishenghua/jshERP
- https://www.vulncheck.com/advisories/jsherp-through-3.6-missing-authorization-via-user-batchsetstatus
ADP enrichment
No English description supplied.
No references supplied.