jshERP Access Control Vulnerability in Supplier Status Modification

Vulnerability

An access control vulnerability has been identified in jshERP version 3.5, specifically within the SupplierController component. This flaw allows unauthorized attackers to arbitrarily change the status of suppliers across any account. The issue arises from improper access control, enabling horizontal privilege escalation by modifying supplier statuses without authorization.

Impact

Exploitation of this vulnerability allows for unauthorized modification of supplier statuses under any account, bypassing established access controls.

Reproduction

To reproduce this vulnerability, log into a jshERP account and navigate to the supplier information section. Select any supplier and click 'Disable'. Use Burp Suite to intercept the request. Modify the request path to '/jshERP-boot/user/login/../../supplier/batchSetStatus', remove the 'X-Access-Token' header, and change the status value in the JSON parameter to 'true' or 'false'. The 'id' value should correspond to the selected supplier's ID.

Added: Aug 21, 2025, 2:21 PM
Updated: Aug 21, 2025, 2:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.