Description (CNA)
ERPNext 9.0.0 through 16.50.0 contains a missing authorization vulnerability that allows authenticated users to view stock quantities via whitelisted batch methods. Attackers, including customer portal users, can call get_batch_qty, get_batches_by_oldest or get_pos_reserved_batch_qty to list every item batch with per-warehouse quantities.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Frappe / ERPNext | affected 9.0.0 through 16.50.0 |
CWE
CWE-862
References
- https://github.com/frappe/erpnext/pull/60147
- https://github.com/frappe/erpnext/commit/10a2400312afd17df740c6ed64e0803dfbabb623
- https://github.com/frappe/erpnext/blob/v16.50.0/erpnext/stock/doctype/batch/batch.py#L235-L301
- https://github.com/frappe/erpnext
- https://www.vulncheck.com/advisories/erpnext-9.0.0-through-16.50.0-missing-authorization-in-batch-lookup-methods
ADP enrichment
No English description supplied.
No references supplied.