Skip to content
IDOR · Insecure Direct Object Reference

One number changed.
Data stolen.

You don't need to be a hacker. By changing a single digit in the URL, anyone can access another user's data: salaries, bank details, medical information.

mycompany.com/hr/payslip?employee_id=1042
Payslip
MyCompany — HR Portal
AM
Alice Martin
AM

Alice Martin

Marketing Manager · #1042

Gross salary€3,850.00
Net salary€3,267.65
IBANFR76 3000 6000 0112 3456 7890 189
Address14 rue des Lilas, 75011 Paris
Step 1 of 3

You're viewing your payslip

Logged in as Alice Martin — Marketing Manager

A URL that contains your ID

Your HR portal displays your data via a number directly present in the page address. This number identifies your record in the database. Nothing unusual here.

Key figures

#0

OWASP Top 10

Broken Access Control

< 0 sec

To exploit

no specialized tool needed

0

Alert generated

The attack is invisible

€0K

CNIL fine (SERGIC)

access flaw — 2019