The special code in editor has no Authority control and can lead to Information Disclosure
A file uploaded to a Phabricator editor is referenced by a special code, but the editor does not check whether the viewer is allowed to see that file. An attacker could embed another user's private file reference in their own content and view the file's contents.
Originally disclosed on HackerOne
- Disclosed after 3 days
Here is your keyword:mongoose
Details:
- Summary:
Uploaded file will be showed as a special code {Fxxx} in Phabricator editor,but it has no Authority control.
- Reproduce steps:
1.Open two different browsers (to simulate two different users) 2.browser A:login as user "toma" 3.browser B:login a user "test4" 4.user "toma" create a Maniphest task with visibility "toma" only,and upload a file "toma.html" to description,its code is`` 5.user "test4" open anyone editor and write:
then post it,then you will find user "test4" has got the file of user "toma" with visibility "toma".
Attachments


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 editor renders file references without verifying the requesting user's permission to access the referenced file.
Impact
A user could view files that were restricted to another user, leading to information disclosure.
What the attacker needed
Two user accounts; victim uploads a file with restricted visibility; attacker knows or guesses the file reference code
How it was found
- Open two different browsers to simulate two users.
- Log in as user 'toma' in browser A.
- Log in as user 'test4' in browser B.
- As 'toma', create a Maniphest task visible only to 'toma' and upload a file named 'toma.html' to the description.
- As 'test4', open any editor, write the file reference code, and post it.
- Observe that 'test4' can now access 'toma's file despite its restricted visibility.
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.
When you upload a file in Phabricator, it gets a short code like {F123} that you can paste into text. The system should check if you are allowed to see that file before showing it. Here it did not check, so one user could see a file that was meant to be private to someone else.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.