Dashboard panel embedded onto itself causes a denial of service
A dashboard text panel could be made to embed its own view using Remarkup, causing the renderer to choke. An attacker could then place this panel in a comment, permanently breaking rendering for task, feed, and likely homepage views.
- Fixed in 1 hour
- Disclosed after 1 hour
I know this may not qualify for a bounty since it's a DoS, but I believe you'd rather get sensitive reports through HackerOne rather than Maniphest. (PS: mongoose.)
Steps to reproduce
- In Dashboards, create a new Text Panel (let's say it would get the object reference
W1on creation). - In the Create New Panel dialog, embed the panel view onto itself with Remarkup:
{W1} - Phabricator should now bravely attempt to render this, and choke.
Impact
Significantly disruptive in an install where any user may create a dashboard (I think that's true by default), since they would then be able to embed this eldritch panel in, say, a Maniphest comment, forever ruining rendering for all of task, feed, and likely homepage, views.
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 panel rendering logic did not detect or limit recursive embedding of a panel within itself.
Impact
Any user who can create a dashboard could embed the broken panel in a comment, permanently ruining rendering for all of a task, feed, and likely homepage views.
What the attacker needed
Ability to create a dashboard panel; ability to post a comment containing the panel
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 dashboard panel can contain a reference to itself. When the system tries to draw the panel, it chokes and the page fails to load. Because the broken panel can be placed in a comment, other people's pages also stop working.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.