CSRF in Bestwebsoft Htaccess

CVE-2020-8658

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.099 (95.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-8658?
CVE-2020-8658 is a high-severity vulnerability in Bestwebsoft Htaccess, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.8/10. Published 2020-02-06.
How severe is CVE-2020-8658?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2020-8658 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.