Atttacker can send "Invitation Request" to a Project that is not even created yet!
The invitation request endpoint accepted requests for project IDs that did not yet exist, allowing an attacker to pre-create invitation requests for future projects. When those projects were later created, the pending invitation requests would already be waiting, regardless of whether the project was public or private.
Originally disclosed on HackerOne
- Fixed in 14 hours
- Disclosed after 15 hours
Hei, How you doing ?
just found another bug on Invitation Process. This one is really interesting!
With this bug, Attacker can send invitation request to a project that is even not created yet :p
POC
Process is same as other two issues that i reported earlier,
- Just send an **Invitation Request" to a private Project and use the POST Data to reproduce (with Live HTTP Header or any other Request Repeater).
POST : https://www.localize.im/projects/[Project ID]
Host: www.localize.im User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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 DNT: 1 Referer: https://www.localize.im/projects/[ID] Cookie: PHPSESSID=hp7c6gvbb93nu4o29tim85s3o5 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 95
CSRFToken=[TOKEN]&requestInvitation[repositoryID]=[ID]
Here, suppose ID of last Project created on Localize is 9a , now as localize application normally works, next ID will be 9b .. (i can be wrong here)
with Live HTTP Header, You can Send Requests to project that is not even created till now.. all you have to do is just change the ID parameter to 9b 9c 9d 9e 9f more and more and send request.
Now when Project with ID 9b 9c 9d 9e 9f will get created, doesn't matter this project is PUBLIC or PRIVATE (because of that bug i reported earlier), there will be an "Invitation Request" awaiting for confirmation.
Hope you will fix this one soon as possible..
Regards and Best Wishes, FaisaL Ahmed
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 invitation request handler did not verify that the referenced project ID existed before storing the request.
Impact
An attacker could pre-create invitation requests for future projects, leaving unwanted pending requests when those projects are created, regardless of privacy setting.
How it was found
- Send an invitation request to a private project and capture the POST request.
- Change the repositoryID parameter to a future project ID such as 9b, 9c, 9d, 9e, or 9f.
- Send the modified request repeatedly for several future IDs.
- When a project with one of those IDs is later created, an invitation request is already waiting for confirmation.
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 let people ask to join a project by sending a request with the project's ID number. The site did not check whether that project actually existed, so someone could send requests for IDs that had not been used yet. Later, when a new project was created with one of those IDs, the request was already there waiting.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.