Description
Frappe HR (hrms) before 16.11.0, including all 14.x and 15.x releases through 15.64.3, contains a missing authorization vulnerability in the whitelisted get_account_and_amount method that lets authenticated users read payroll amounts. Attackers without HR roles can call the method over /api/method with enumerable Salary Slip or claim document names to disclose other employees' net pay and loan, advance, and claim balances.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| frappe | hrms | < 16.11.0 | 16.11.0 |
References
- https://hackmd.io/@haind03/frappe-hrms-fnf-payroll-amount-oracle third-party-advisory
- https://github.com/frappe/hrms/blob/0a54d2c7b8b6043e2705b6f557b6ed65260670dd/hrms/hr/doctype/full_and_final_statement/full_and_final_statement.py#L273-L327 technical-description
- https://github.com/frappe/hrms/commit/6ab7a50347367413b78ad5bd5d9e4b8c6653c81f patch
- hrms v16.11.0 Release Notes release-notes
- https://github.com/frappe/hrms product
- VulnCheck Advisory: Frappe HR (hrms) before 16.11.0 Missing Authorization via get_account_and_amount third-party-advisory