CVE-2023-6699

WP Compress – Image Optimizer [All-In-One] <= 6.10.33 - Unauthenticated Directory Traversal via css

2024-01-03 00:00
Krzysztof Zając

Strategic Overview

Status
Patched in 6.10.34
Affected Version
<= 6.10.33
CVSS
9.1Critical
Weakness type
CWE-24 · Path Traversal: '../filedir'
CVE
CVE-2023-6699
View all WP Compress – Instant Performance & Speed Optimization vulnerabilities

At a glance

CVE-2023-6699 is a critical-severity Path Traversal: '../filedir' vulnerability in the WP Compress WordPress plugin, affecting versions <= 6.10.33. It carries a CVSS score of 9.1 (reachable over the network; low attack complexity; high confidentiality, integrity impact). Exploitation requires no authentication. The issue is fixed in version 6.10.34; sites on affected versions should update now. Disclosed January 2024, reported by Krzysztof Zając.

Vulnerability Overview

The WP Compress – Image Optimizer [All-In-One] plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 6.10.33 via the css parameter. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information.

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 privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity.

CWE-24: Path Traversal: '../filedir'

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize ../ sequences that can resolve to a location that is outside of that directory.

Remediation

Update to version 6.10.34, or a newer patched version

How does WordSec protect against this?

This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: WP Compress 6.10.34 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

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