The BestWebSoft Htaccess plugin through 1.8.1 for WordPress allows wp-admin/admin.php?page=htaccess.php&action=htaccess_editor CSRF. The flag htccss_nonce_name passes the nonce to WordPress but the plugin does not validate it correctly, resulting in a wrong implementation of anti-CSRF protection. In this way, an attacker is able to direct the victim to a malicious web page that modifies the .htaccess file, and takes control of the website.
References
Link | Resource |
---|---|
https://wordpress.org/plugins/htaccess/#developers | Third Party Advisory |
https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md | Exploit Third Party Advisory |
https://wpvulndb.com/vulnerabilities/10060 | Third Party Advisory |
Configurations
Information
Published : 2020-02-05 19:15
Updated : 2020-02-07 10:36
NVD link : CVE-2020-8658
Mitre link : CVE-2020-8658
JSON object : View
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
Products Affected
bestwebsoft
- htaccess