Skip to content
Access control Write-up Beginner

When a feature Becomes a Backdoor

An organisation setting restricted project creation to admins only, but the restriction was enforced only on the direct creation endpoint. A non-admin could create a project outside the organisation and then use the move-to-folder feature to place it inside the restricted organisation folder.

medium.com

Published on medium.com

Some bugs don’t require a tool like Burpsuite or even recon simply exploring the application and its features can lead to easy bounty wins

Rajveer, 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 admin-only restriction was enforced only on the project creation endpoint and not on the move-to-folder action, so the same outcome was reachable through a different feature.

Impact

A non-admin user could place a project inside a folder the organisation intended to restrict to admins, bypassing the configured restriction; the report was triaged as low severity.

What the attacker needed

A non-admin account in an organisation; admin has enabled the creation restriction

How it was found

  1. As an admin, set the organisation so only admins can create projects in its folder.
  2. As a non-admin, try to create a project directly in the organisation folder and observe the 403 error.
  3. Create a project outside the organisation instead.
  4. Use the move-to-folder feature to move that project into the organisation folder.

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.

An organisation had a rule that only admins could make new projects inside its shared folder. The rule was checked when someone tried to create a project there directly, but not when someone moved an existing project in from elsewhere. So a normal user could make a project somewhere else and then move it into the restricted folder, getting around the rule.

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.

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.