Description
jshERP through 3.6 is missing an authorization check on the POST /userBusiness/updateBtnStr endpoint that allows authenticated users to modify role button-permission definitions. Attackers can supply arbitrary roleId and btnStr parameters to overwrite button-permission configurations for any role in the tenant without privilege validation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jishenghua | jshERP | ≤ 3.6 | — |
References
- Proof of concept exploit
- Vulnerable code technical-description
- https://github.com/jishenghua/jshERP product
- VulnCheck Advisory: jshERP through 3.6 Missing Authorization via updateBtnStr third-party-advisory