ERPNext 15.55.0 through 16.50.0 Incorrect Authorization via get_timesheet_html
Impact
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.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Frappe · ERPNext
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 15.55.0 through 16.50.0 (inclusive) | affected |
Original source 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.
References
- Patch github.com/frappe/erpnext/pull/60280
- Patch github.com/frappe/erpnext/commit/eb217deef7bd407d34254aee3b3e175e4d357c90
- Source reference github.com/frappe/erpnext/blob/v16.50.0/erpnext/templates/pages/projects.py
- Source reference github.com/frappe/erpnext
- Security advisory www.vulncheck.com/advisories/erpnext-15.55.0-through-16.50.0-incorrect-authorization-via-get-timesheet-html