Skip to content
Access control Write-up Intermediate

$800 Improper Authorization Flaw: Unauthorized Project Reclaiming Post Transfer

The project transfer process did not properly invalidate a previously used accept-transfer request, allowing an attacker to replay it and reclaim a project after transferring it back to the victim. This enabled unauthorised access and potential data manipulation.

a13h1 Follow

Published on medium.com

ExamenTry is a robust platform that provides error tracking and monitoring services, enabling developers to identify and resolve issues in their applications efficiently. It offers various features to manage and transfer projects between users, ensuring seamless collaboration.

Abhi Sharma, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application did not invalidate or expire the accept-transfer request after it was first used, allowing it to be replayed.

Impact

An attacker could regain unauthorised access to a project after transferring it, potentially leading to data manipulation and breach of confidentiality.

What the attacker needed

Two accounts: victim and attacker; attacker must capture the accept-transfer request; victim must initiate a transfer to attacker

The fix

The application should be fixed to ensure that project transfers are truly permanent and irreversible, likely by invalidating the accept-transfer request after first use.

How it was found

  1. Create two accounts: a victim (Account A) and an attacker (Account B).
  2. As the victim, initiate a project transfer to the attacker.
  3. The attacker accepts the transfer and captures the accept-transfer request.
  4. The attacker transfers the project back to the victim, who accepts it.
  5. The attacker replays the previously captured accept-transfer request to reclaim the project.

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 write-up has not been written yet. The Original tab links to the source.

When you transfer a project to someone else, the platform should make that change permanent. Here, the system remembered an old request that was used to accept the transfer and allowed it to be used again later. This meant the attacker could take back control of the project even after giving it away.

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 by a13h1

View all

8 more disclosed reports, best first.

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.