Skip to content
DoS Advisory Intermediate CVE-2022-39281

GHSL-2022-073: Denial of Service (DoS) in Fat Free CRM - CVE-2022-39281

An authenticated user could send a crafted request to a task update endpoint, causing the server to call the Ruby sleep method without a duration, which makes the request thread sleep forever. Repeating this a few times exhausts all worker threads and prevents the application from handling any further requests.

p Follow

Originally disclosed on GitHub Security Lab

A denial of service vulnerability existed in Fat Free CRM where an authenticated attacker could have prevented the web application from handling any requests.

p-, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The application passes a user-controlled parameter directly to Ruby's send method, allowing the attacker to invoke arbitrary methods such as sleep.

Impact

The application could be made unavailable to all users, resulting in a denial of service.

What the attacker needed

Authenticated user account

The fix

The application should avoid passing user-controlled input to send and instead use an allowlist of permitted method names.

How it was found

  1. Authenticate to the application and obtain a valid session cookie and CSRF token.
  2. Send a PUT request to a task completion endpoint with the bucket parameter set to sleep.
  3. Repeat the request until all available worker threads are sleeping, causing the application to stop responding.

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.

The application takes a value from the user and uses it to decide which internal function to run. An attacker can choose a function that pauses the server's processing thread indefinitely. By doing this a few times, all threads become stuck and the website stops responding for everyone.

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 p

View all

49 more disclosed reports, best first.

More from GitHub Security Lab

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.