Files
CVEs-PoC/2020/CVE-2020-8658.md
T
2024-05-25 21:48:12 +02:00

20 lines
1.1 KiB
Markdown

### [CVE-2020-8658](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8658)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md
- https://wpvulndb.com/vulnerabilities/10060
#### Github
- https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin
- https://github.com/V1n1v131r4/My-CVEs