Horilla
Horilla HR has 2FA Bypass through its OTP Handling Logic
Horilla is a free and open source Human Resource Management System (HRMS). In version 1.4.0, the OTP handling logic has a flawed equality check that can be bypassed. When an OTP expires, the server returns None, and if an attacker omits the otp field from their POST request, the user-supplied OTP is also None, causing the comparison user_otp == otp to pass. This allows an attacker to bypass two-factor authentication entirely without ever providing a valid OTP. If administrative accounts are targeted, it could lead to compromise of sensitive HR data, manipulation of employee records, and further system-wide abuse. This issue has been fixed in version 1.5.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.4.0, < 1.5.0
Fixed in 1.5.0
Mitigation
Upgrade horilla to 1.5.0 or later.
References
- Vendor advisory github.com/horilla-opensource/horilla/security…
- Release notes github.com/horilla-opensource/horilla/releases…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.