1200 Idor Flaw Allow Attacker To Approve Project Time Tracking
An IDOR vulnerability in the time tracking approval endpoint allowed an attacker to approve time tracking records for another company by manipulating employeeId and timesheetId parameters. This could lead to unauthorised access and modification of sensitive time tracking data.
Published on infosecwriteups.com
Discover the shocking Insecure Direct Object Reference (IDOR) vulnerability in ExamFit’s (Private Program) Time Tracking System, and see how an attacker could gain unauthorized access and approval of time tracking records, posing a significant risk to data integrity and financial stability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server did not verify that the authenticated user's company matched the company of the employeeId and timesheetId being approved, allowing cross-company approval.
Impact
An attacker could approve time tracking records for another company, leading to unauthorised access and modification of sensitive data, with potential financial implications.
What the attacker needed
Attacker employee account; Attacker admin account; Victim admin account (for verification); Knowledge of victim employeeId and timesheetId
How it was found
- Attacker employee logs in and creates a work time tracking project, noting employeeId and timesheetId.
- Attacker logs in with their own admin account and captures Authorization Bearer and X-Examfit-Id tokens.
- Attacker sends a crafted HTTP request to the approve endpoint using the captured tokens and the victim's employeeId and timesheetId.
- The response returns 200 OK and the time tracking request is approved.
- Victim admin logs in to verify that the time tracking request for the victim employee has been improperly approved.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An IDOR (Insecure Direct Object Reference) is when a website lets you access or change something you shouldn't by simply changing an identifier like a number or ID in a request. Here, the attacker could approve time tracking records for a different company by using that company's employee and timesheet IDs. This means the system didn't check if the person making the request actually had permission to approve those records.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.