Description
jshERP 3.6 contains a privilege escalation vulnerability in the updateOneValueByKeyIdAndType endpoint that allows authenticated users to grant themselves arbitrary roles. Attackers can send a POST request with type=UserRole, their own user ID, and a role ID list to escalate from low-privilege tenant user to tenant administrator.
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 3.6 Privilege Escalation via updateOneValueByKeyIdAndType third-party-advisory