CVE-2023-23888

RankMath SEO <= 1.0.107.2 - Authenticated (Contributor+) Local File Inclusion

2023-01-30 00:00
Rafie Muhammad

Strategic Overview

Status
Patched in 1.0.107.3
Affected Version
<= 1.0.107.2
CVSS
6.5Medium
Weakness type
CWE-23 · Relative Path Traversal
CVE
CVE-2023-23888
View all Rank Math SEO – AI SEO Tools to Dominate SEO Rankings vulnerabilities

At a glance

CVE-2023-23888 is a medium-severity Relative Path Traversal vulnerability in the Rank Math SEO WordPress plugin, affecting versions <= 1.0.107.2. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 1.0.107.3; sites on affected versions should update now. Disclosed January 2023, reported by Rafie Muhammad.

Vulnerability Overview

The RankMath SEO plugin for WordPress is vulnerable to Local File Inclusion via the 'update_schemas' and 'get_snippet_content' functions. This allows authenticated attackers, with contributor-level permissions and above, to include and execute arbitrary PHP files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls or obtain sensitive data.

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 confidentiality.

CWE-23: Relative Path Traversal

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

Remediation

Update to version 1.0.107.3, or a newer patched version

How does WordSec protect against this?

An attacker needs Contributor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Rank Math SEO 1.0.107.3 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

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