Code-Projects Human Resource Management System Improper Authorization Vulnerability in Account Handler

Vulnerability

A critical improper authorization vulnerability has been identified in Code-Projects Human Resource Management System version 1.0.1. The issue resides in the Account handler file, specifically within the Index function. The vulnerability arises from inadequate authorization checks, allowing attackers to manipulate the user_cookie argument to bypass authentication and access restricted resources. Exploitation of this vulnerability is relatively easy, and a proof-of-concept exploit is publicly available.

Impact

Exploitation of this vulnerability allows for unauthorized access to resources or actions that should be restricted, potentially leading to unauthorized data exposure or modification.

Reproduction

To reproduce this vulnerability, send a GET request to the '/index' endpoint. Include a 'user_cookie' parameter in the Cookie header, crafted to bypass authorization checks. The 'user_cookie' value must be base64-encoded and structured to extract the desired username when decoded. This manipulation tricks the application into granting access without proper authentication.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.0
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

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