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.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_misc
https://wordpress.org/plugins/htaccess/#developers
Exploit, Third Party Advisory x_refsource_misc
https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md
Third Party Advisory x_refsource_misc
https://wpvulndb.com/vulnerabilities/10060
Scores
CVSS v3
8.8
EPSS
0.0215
EPSS Percentile
84.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-352
Status
published
Products (1)
bestwebsoft/htaccess
< 1.8.1
Published
Feb 06, 2020
Tracked Since
Feb 18, 2026