horilla-hr: Horilla attendance approval endpoint is vulnerable to cross-site request forgery
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Horilla is an HR and CRM software. Prior to 2.0.0, approve_validate_attendance_request at /attendance/approve-validate-attendance-request/ changes attendance_validated, is_validate_request_approved, approved_by, and related pending-request state through an HTTP GET before calling attendance.save(), so Django does not require CSRF validation for the action. An unauthenticated attacker can cause a logged-in manager with attendance.change_attendance to make a top-level request that carries the manager's SameSite=Lax session cookie, silently approving attendance with the victim's privileges and attributing the approval to the victim in the audit trail. This issue is fixed in version 2.0.0.
Text from CVE List
Affected versions 1
- horilla-hraffected: < 2.0.0CVE List