Skip to content
Access control Disclosed report Intermediate

Broken Authentication and Session Management lead to take over account

The report claims that session tokens are weak, allowing an attacker to change a victim's email address and then reset the password to take over the account. The evidence provided is a captured HTTP request showing an email change, but no actual token weakness or attack method is demonstrated.

thund3r17 Follow

Originally disclosed on HackerOne

  • Disclosed after 9 hours

Hello, I found vulnerability using phone

Summary : Session token weakness, allowing attackers to take over accounts

Tools : Lightning.apk (Browser) SandroProxy.apk or you can use all available proxies

Steps to Reproduce:

  1. Create a phacility account.
  2. Go to https://admin.phacility.com/settings/user/(username)/page/email/
  3. Add new account
  4. Open SandroProxy (Capture all http request) the request should look like this:

POST /settings/user/(username)/page/email/ HTTP/1.1 Host: admin.phacility.com Connection: keep-alive Content-Length: 157 sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90" X-Phabricator-Csrf: B@5xu5frjn4f5238616917563d sec-ch-ua-mobile: ?1 User-Agent: Mozilla/5.0 (Linux; Android 8.1.0; vivo 1820) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36 X-Phabricator-Via: /settings/user/(username)/page/email/ Content-Type: application/x-www-form-urlencoded Accept: / Origin: https://admin.phacility.com Sec-Fetch-Site: same-origin Sec-Fetch-Mode: cors Sec-Fetch-Dest: empty Accept-Encoding: gzip, deflate, br Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,cs;q=0.6 Cookie: aura=u2FOcME6PSlT; admin_phusr=amer17; admin_phsid=ld7bdwzjadvg5x3go3wykgzj3blk3qrdidlqd452; halo=9LIv4U24kVpa

csrf=B%402hmxctpgc672d004d5b2cc5c&form=1&dialog=1&new=true&email=asuuu17%40gmail.com&submit=true&wflow=true&ajax=true&metablock=3

Pay attention (email=), change the victim's email to the attacker email with the same token, in this case the attacker can enter his email

Impact

The weakness of the session token, allows the attacker to add his email and reset the password via the attacker's email

Attachments

poc.mp4 From the original on HackerOne

The original report as published on HackerOne, by thund3r17. 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 the session token is predictable or not properly validated, but the text does not provide evidence of the actual flaw.

Impact

The attacker could add their own email and reset the password, leading to account takeover, but the report does not prove this works.

What the attacker needed

A free account; a proxy tool

How it was found

  1. Create a Phacility account.
  2. Go to the user settings email page.
  3. Add a new email address.
  4. Capture the HTTP request using a proxy.
  5. Change the email parameter to the attacker's email while keeping the same token.

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 report says that the login tokens used by a website are too easy to guess or steal, so an attacker could change the email on someone else's account and then reset the password to get in. However, the report only shows a normal request to change an email and does not prove the token is actually weak.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Phabricator

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.