Description
Frappe ERPNext before 15.121.4 and 16.x before 16.36.0 contains a missing authorization vulnerability in the whitelisted erpnext.buying.utils.get_linked_material_requests method lacking document or company permission checks. Authenticated users, including portal users or users without roles, can supply item codes to retrieve open Purchase-type Material Requests belonging to other companies.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
frappe erpnext
Default version status: unaffected
0 to < 15.121.4affected16.0.0-beta.1 to < 16.36.0affected15.121.4unaffected16.36.0unaffected
pkg:github/frappe/erpnextReferences
- https://github.com/frappe/erpnext/security/advisories/GHSA-w3rc-76j9-46jq ↗
- https://github.com/frappe/erpnext/commit/48635ee6b56a08dc5663d283d8e29c4e30190ad3 ↗
- https://github.com/frappe/erpnext/commit/aea326869b4f7ba96629eaec7e5d2eff3957c364 ↗
- https://github.com/frappe/erpnext/blob/12cd563fb9a79731f75ae2a45b1446a0a2dd9e74/erpnext/buying/utils.py#L126-L150 ↗
- https://github.com/frappe/erpnext ↗
- https://www.vulncheck.com/advisories/frappe-erpnext-before-15.121.4-and-16.36.0-missing-authorization-via-get-linked-material-requests ↗