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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.mdExploit, Third Party Advisory
- https://wordpress.org/plugins/htaccess/#developersThird Party Advisory
- https://wpvulndb.com/vulnerabilities/10060Third Party Advisory
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.mdExploit, Third Party Advisory
- https://wordpress.org/plugins/htaccess/#developersThird Party Advisory
- https://wpvulndb.com/vulnerabilities/10060Third Party Advisory
Timeline
- Published
- Feb 6, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified