Horilla HRMS Insecure Direct Object Reference Vulnerability in Document Viewer

Vulnerability

A vulnerability allowing unauthorized access to employee documents has been identified in Horilla HRMS version 1.5.0. This insecure direct object reference (IDOR) issue allows any authenticated user to view other employees' uploaded files by simply changing the document ID in the request. The flaw exposes sensitive HR materials, including identity documents, contracts, certificates, and other private employee records. The vulnerability arises because the document viewer endpoint retrieves files based solely on their numeric IDs, without verifying if the requesting user has the right to access them.

Impact

Exploitation of this vulnerability leads to unauthorized access to private employee files, exposing sensitive HR data and potentially causing compliance or privacy issues if the documents contain personal or regulated information.

Reproduction

To reproduce this vulnerability, log in as an employee and navigate to the document viewer. Once a request for one of your own documents is sent, note the document ID. Then, modify the request to access documents belonging to other employees by changing the ID to one that corresponds to their files. The server will respond with the requested document, bypassing authorization checks.

Added: Apr 21, 2026, 8:09 PM
Updated: Apr 21, 2026, 8:09 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
6.2
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.