Description
ERPNext 15.55.0 through 16.50.0 contains an incorrect authorization vulnerability in the get_timesheet_html method that lets authenticated portal users view project Timesheets. The method only checks Project read access, ignoring hide_timesheets and project membership, so attackers can retrieve timesheet names, status, time-log dates and last modifiers.
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
15.55.0 to ≤ 16.50.0affected
pkg:github/frappe/erpnextReferences
- https://github.com/frappe/erpnext/pull/60280 ↗
- https://github.com/frappe/erpnext/commit/eb217deef7bd407d34254aee3b3e175e4d357c90 ↗
- https://github.com/frappe/erpnext/blob/v16.50.0/erpnext/templates/pages/projects.py#L99-L106 ↗
- https://github.com/frappe/erpnext ↗
- https://www.vulncheck.com/advisories/erpnext-15.55.0-through-16.50.0-incorrect-authorization-via-get-timesheet-html ↗