CVEvulnerability
CVE-2020-8658
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-02-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-352
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 configurations
• bestwebsoft htaccess (<= 1.8.1)
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md Exploit, Third Party Advisory
- https://wordpress.org/plugins/htaccess/#developers Third Party Advisory
- https://wpvulndb.com/vulnerabilities/10060 Third Party Advisory
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md Exploit, Third Party Advisory
- https://wordpress.org/plugins/htaccess/#developers Third Party Advisory
- https://wpvulndb.com/vulnerabilities/10060 Third Party Advisory