CVE-2020-8658
HIGH
8.8
CVSS 3.1
Description
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.
Affected WordPress components
-
Htaccess by BestWebSoft – WordPress Website Access Control Plugin Plugin · htaccessVersions not specified; Up to and including 1.8.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- n/a n/a — Versions not specified
- bestwebsoft htaccess — Up to and including 1.8.1
References
- github.com https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md Exploit, Third Party Advisory
- wordpress.org https://wordpress.org/plugins/htaccess/#developers Third Party Advisory
- wpvulndb.com https://wpvulndb.com/vulnerabilities/10060 Third Party Advisory
- nvd.nist.gov Official NVD record