Htaccess <= 1.8.1 - Cross-Site Request Forgery

8.8
Cross-Site Request Forgery (CSRF)
CVE CVE-2020-8658
CVSS 8.8 (High)
Publicly Published February 1, 2020
Last Updated December 5, 2022
Researcher V1n1v131r4

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

Share

Vulnerability Details for Htaccess by BestWebSoft – WordPress Website Access Control Plugin

Software Type Plugin
Software Slug htaccess (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.8.2, or a newer patched version
Affected Version
  • <= 1.8.1
Patched Version
  • 1.8.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation