Project

General

Profile

Actions

Bug #1

open
SB FU

Employee reads all salaries

Bug #1: Employee reads all salaries

Added by Safia Borsha about 2 months ago. Updated 10 days ago.

Status:
New
Priority:
High
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The /get-all-salaries endpoint has no permission check, allowing any low-privileged authenticated user to retrieve full salary details (basic salary, allowances, deductions, net salary) of every employee. Verified via both browser and script — expected 403 Forbidden, actual 200 OK with full compensation data returned. This is a serious confidentiality issue and should be restricted to authorized personnel only.


Files

Screenshot 2026-07-29 163700.png (64.2 KB) Screenshot 2026-07-29 163700.png Safia Borsha, 07/29/2026 04:37 PM
Screenshot 2026-07-29 163700.png
Actions

Also available in: PDF Atom