scripts loader (denial of service) vulnerability
The WordPress load-scripts.php endpoint allows loading multiple JavaScript files without restricting their number or size, so an attacker can request many large files at once to exhaust server resources and cause a denial of service.
- Disclosed after 6 months
- vulnerability description
WordPress allows users to load multiple JS files and CSS files through load-scripts.php files at once. For example, https://wpwebsite.com/wp-admin/load-scripts.php?c=1&load[]=jquery-ui-core,editor&ver=4.9.1, file load-scripts.php will load jquery-ui-core and editor files automatically and return the contents of the file.
However, the number and size of files are not restricted in the process of loading JS files, attackers can use this function to deplete server resources and launch denial of service attacks.
(check references for more details about the vulnerability) 2) attack details
*affected link : https://mariadb.org/wp-admin/load-scripts.php
*proof of concept ( description );
the load-scripts.php file was receiving a parameter called load[]. This parameter is an array that was receiving the names of the JS files that needed to be loaded. In this case, it was receiving jQuery UI Core, which is the name of one of the Javascript files used by the WordPress login page. (it can be longer, this is just an example) As no rate-limiting is setup for this URL - then DoS comes real
*proof of concept ( link ) ; https://mariadb.org/wp-admin/load-scripts.php?c=1&load[]=jquery-ui-core&ver=4.9.1
- how to fix
The web application firewall will mitigate attacks by adding the following to .htaccess -file:
<Files load-scripts.php>Order allow, deny
Deny from all
</Files>- vulnerability classification:
*owasp 2017 top 10 (A9 Using Components with Known Vulnerabilities )
*CVE( Common Vulnerabilities and Exposures ) : https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6389
- references:
https://blog.threatpress.com/wordpress-vulnerability-dos/
https://baraktawily.blogspot.com/2018/02/how-to-dos-29-of-world-wide-websites.html
Impact
denial of service
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 load-scripts.php script does not limit how many files or how much data can be requested in one call, allowing resource exhaustion.
Impact
An attacker could cause a denial of service by depleting server resources, though the text does not confirm a successful attack beyond the proof-of-concept link.
What the attacker needed
WordPress site with default load-scripts.php; No rate limiting on the endpoint
The fix
The report suggests blocking access to load-scripts.php via a web application firewall rule in .htaccess, but does not state that this was applied or that the vulnerability was fixed.
How it was found
- Identify the load-scripts.php endpoint on a WordPress site.
- Send a request with the load[] parameter containing a JavaScript file name.
- Repeat or expand the request to include many files, exhausting server resources.
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 website can be overwhelmed if someone asks it to do too much work at once. Here, a WordPress feature that combines JavaScript files lets an attacker request many large files in a single request, which can slow or crash the server 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.