cve/2021/CVE-2021-24905.md

18 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-24905](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24905)
![](https://img.shields.io/static/v1?label=Product&message=Advanced%20Contact%20form%207%20DB&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.8.7%3C%201.8.7%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-863%20Incorrect%20Authorization&color=brighgreen)
### Description
The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.
### POC
#### Reference
- https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6
#### Github
No PoCs found on GitHub currently.