Skip to content
Access control Disclosed report Intermediate

Deleting groups in any project without permission

A group-deletion action was reachable through a project-scoped endpoint, and the request carried only a group identifier. An attacker could delete groups in other projects by changing the project path and guessing the group identifier.

mickyd Follow

Originally disclosed on HackerOne

  • Triaged in 9 hours
  • Fixed in 22 hours
  • Disclosed after 23 hours

If you can make a group then why can't you delete the group :P

With same method of creating the group you can delete the group But have some restrictions :/ :

  1. in any project you ll not get to know the deleteGroup[id]
  2. May be I'm only one who is making groups now so i can assume the deleteGroup[id] like 96,97,98 :P

POST /pages/create_project/3F HTTP/1.1 Host: www.localize.io User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:28.0) Gecko/20100101 Firefox/28.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://www.localize.io/pages/create_project/82 Cookie: PHPSESSID=srdrqpfu6k679bna6e2rtrsrq7 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 81

CSRFToken=NTc4NTUxMjY1MzUxZTllOGIwYWM4MC4yMjE1MjUxNw%3D%3D&deleteGroup%5Bid%5D=95

Now he ll change the POST /pages/create_project/3F with POST /pages/create_project/8h and the deleteGroup[id] .

and send the request and group ll be deleted.

Take a look and lemme know if you need more info .

Daksh

The original report as published on HackerOne, by mickyd. 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 delete handler trusted the group identifier supplied in the request and the project in the URL without verifying that the caller had permission over that group.

What the attacker needed

An account able to create groups; guess or know the target group id

How it was found

  1. Send a request to the project creation page that includes a deleteGroup identifier.
  2. Change the project identifier in the request path to a different project.
  3. Change the deleteGroup identifier to the target group and send the request, which deletes the group.

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.

A website lets people create groups inside projects. The request that deletes a group only says which group to remove. Someone can point the same request at another project and remove a group by guessing its identifier.

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 mickyd

View all

4 more disclosed reports, best first.

More from Localize

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.