Skip to content
DoS Disclosed report Intermediate CVE-2022-4019

DoS via Playbook

A normal user could create a playbook whose template fields had no size limit, allowing a value of up to 50MB. Running that playbook made the server consume large amounts of computing resources, stop responding and crash, taking the application down for all users.

vultza Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 30 hours
  • Fixed in 47 days
  • Paid in 2 days
  • Disclosed after 3 months

Summary:

A normal user can create a playbook, that has some attributes like the run_summary_template, retrospective_template and description,that don't have any size check or validation, which allows an attacker to set an unlimited number of characters as their values.

In a production environment is possible to set up to 50MB of data, due to the default nginx configuration, as the run_summary_template value. The creation of the playbook for itself is not sufficient to trigger an DoS attack in the application, but once this playbook is executed(run) the server starts to consume a large amount of computing resources, which causes to the server to stop responding to users requests and ultimately leads to server crash.

This attack is even worst because after the application is restarted, its not possible to the user who created the playbook run to finish its execution via the Web Portal, because both the channel created by the playbook run, and the run dedicated management page, don't properly load, showing only a blank screen.

Steps To Reproduce:

  1. Log in as a normal user in the platform.
  2. Grab the user MMAUTHTOKEN authentication token.
  3. Generate the playbook payload, that contains 50000000(50MB) characters as the run_summary_template attribute value. Use F1893243
  4. Send the following POST request to the plugins/playbooks/api/v0/playbooks API endpoint:
Bash
curl -X POST "http://<domain>/plugins/playbooks/api/v0/playbooks" -H 'Content-Type: application/json' -d @payload --cookie "MMAUTHTOKEN=<user-auth-token>" -H "X-CSRF-TOKEN: <csrf-token>"
  1. Go to the playbooks page, and click on the newly created playbook.
  2. Click in the "Run" button and then set an name for the run.
  3. After the run is initiated, the server will start to consume an abnormal quantity of computing resources, and crashes after some seconds.
  4. The application becomes unavailable for all its users.

Supporting Material/References:

  • PoC Video
dos_playbook_final.mp4 From the original on HackerOne

Impact

A user can cause a full denial of service attack in the application server, making the application server unavailable to all its users.

The original report as published on HackerOne, by vultza. 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 playbook template and description fields were stored and processed without any length limit or validation, so an oversized value overwhelmed the server when the playbook was executed.

Impact

A normal user could make the application unavailable to all its users, and after a restart the affected run pages failed to load, leaving a blank screen.

What the attacker needed

A normal user account; ability to send API requests with a token

How it was found

  1. Log in as a normal user.
  2. Obtain the user's authentication token.
  3. Build a playbook payload with a very large run summary template value.
  4. Send a POST request to the playbooks API endpoint with that payload.
  5. Open the new playbook and start a run.
  6. Observe the server consuming abnormal resources and crashing.

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 playbook is a saved set of instructions the platform runs on demand. Its template fields accepted text of any length, so a user could store an enormous amount of text. When the playbook was run, the server consumed large amounts of computing resources and crashed, so nobody could use the site.

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.

More by vultza

View all

1 more disclosed report, best first.

More from Mattermost

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.