Description (CNA)
jshERP through 3.6 fails to validate caller permissions in role management endpoints, allowing authenticated users to modify any role's data scope or delete roles. Attackers can exploit the /role/update and /role/delete endpoints to escalate privileges, change data visibility to all data, and access all business records in the tenant.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jishenghua / jshERP | affected 0 through 3.6 |
CWE
CWE-862
References
- https://github.com/LinYuanyi1/cve-request-poc/blob/master/jshERP/poc-11-role-tamper.py
- https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/controller/RoleController.java#L76-L98
- https://github.com/jishenghua/jshERP
- https://www.vulncheck.com/advisories/jsherp-through-3.6-privilege-escalation-via-role-management
ADP enrichment
No English description supplied.
No references supplied.