CVE-2021-24966

Error Log Viewer <= 1.1.1 - Arbitrary File Deletion

2021-11-10 00:00
Ceylan Bozogullarindan

Strategic Overview

Status
Patched in 1.1.2
Affected Version
<= 1.1.1
CVSS
5.5Medium
Weakness type
CWE-73 · External Control of File Name or Path
CVE
CVE-2021-24966
View all Error Log Viewer by BestWebSoft vulnerabilities

At a glance

CVE-2021-24966 is a medium-severity External Control of File Name or Path vulnerability in the Error Log Viewer by BestWebSoft WordPress plugin, affecting versions <= 1.1.1. It carries a CVSS score of 5.5 (reachable over the network; low attack complexity; high integrity impact). The issue is fixed in version 1.1.2; sites on affected versions should update now. Disclosed November 2021, reported by Ceylan Bozogullarindan.

Vulnerability Overview

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

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on integrity.

CWE-73: External Control of File Name or Path

The product allows user input to control or influence paths or file names that are used in filesystem operations.

Remediation

Update to version 1.1.2, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to Error Log Viewer by BestWebSoft: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Error Log Viewer by BestWebSoft 1.1.2 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Scanner
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C