Frappe HRMS
Frappe HR: SQL Injection in HRMS Salary Payments Based on Payment Mode Report
Frappe HR is an open-source human resources management solution (HRMS). Prior to 16.7.0, an authenticated user with the HR User role can inject SQL through filters in the Salary Payments Based on Payment Mode report. In hrms/payroll/report/salary_payments_based_on_payment_mode/salary_payments_based_on_payment_mode.py, get_conditions constructs filter clauses from user-controlled values and get_data incorporates those clauses into a string-formatted SQL query, allowing extraction of arbitrary database data. This issue is fixed in 16.7.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
frappe hrms
- < 16.7.0
Fixed in 16.7.0
Mitigation
Upgrade hrms to 16.7.0 or later.
References
- Vendor advisory github.com/frappe/hrms/security/advisories/GHS…
- Patch github.com/frappe/hrms/pull/4515
- Patch github.com/frappe/hrms/commit/b16148531954531a…
1 more
- Release notes github.com/frappe/hrms/releases/tag/v16.7.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.