Skip to content
DoS Write-up Beginner

The WordPress bug very few know about.

The wp-cron.php file in WordPress is accessible and can be called directly, allowing an attacker to send many requests and cause resource exhaustion. This can slow down or crash the site, resulting in a denial of service.

osintteam.blog

Published on osintteam.blog

If you are new here, I am a bug hunter and cyber security enthusiast, I am currently learning bug hunting.

an0nbil, on osintteam.blog

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the wp-cron.php file is publicly accessible and lacks rate limiting or access controls, allowing unlimited direct requests.

Impact

The site could become slow or unresponsive, potentially leading to denial of service, but the text notes that if the status code is not 200, developers have probably configured it.

What the attacker needed

WordPress site with wp-cron.php accessible; No rate limiting on wp-cron.php

The fix

The wp-cron.php file should be disabled or protected from direct external requests, for example by blocking access at the web server level or using a real cron job.

How it was found

  1. Verify the target uses WordPress using Wappalyzer.
  2. Append /wp-cron.php to the target URL and check if it returns a blank page.
  3. Send a curl request to the target's wp-cron.php and check for HTTP 200.
  4. Use a tool to send many requests to wp-cron.php.
  5. Observe the site's behaviour for slowdown or errors.

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 write-up has not been written yet. The Original tab links to the source.

WordPress has a file called wp-cron.php that runs scheduled tasks like checking for updates. If this file can be accessed directly from the internet, someone can flood it with requests, using up the server's resources and making the website slow or unavailable. This is a type of denial-of-service attack.

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.

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.