### [CVE-2021-24761](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24761) ![](https://img.shields.io/static/v1?label=Product&message=Error%20Log%20Viewer%20by%20BestWebSoft&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.1.2%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brightgreen) ### Description The Error Log Viewer WordPress plugin before 1.1.2 does not perform nonce check when deleting a log file and does not have path traversal prevention, which could allow attackers to make a logged in admin delete arbitrary text files on the web server. ### POC #### Reference - https://wpscan.com/vulnerability/c14e1ba6-fc00-4150-b541-0d6740fee4d2 #### Github - https://github.com/20142995/nuclei-templates