CVE-2021-24966 Error Log Viewer Plugin <= 1.1.1 - Admin+ Arbitrary File Clearing
High-privilege users can clear arbitrary files on the web server due to lack of path validation in the Error Log Viewer plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24966?
CVE-2021-24966 is a medium-severity path traversal vulnerability in Unknown Error Log Viewer by BestWebSoft, published on 14 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Error Log Viewer WordPress plugin through 1.1.1 does not validate the path of the log file to clear, allowing high privilege users to clear arbitrary files on the web server, including those outside of the blog folder
Weakness: CWE-73
Which versions are affected by CVE-2021-24966?
It affects 1 product.
Products include Bestwebsoft Error Log Viewer.
How do I fix CVE-2021-24966?
No fix has been published for CVE-2021-24966 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-24966 being exploited?
There is no known exploitation of CVE-2021-24966 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Unknown Error Log Viewer by BestWebSoft
Sources
Also known as GHSA-6x4q-qqxj-h82w.