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
CVSS6.5Medium
CVECVE-2023-23888
View all Rank Math SEO – AI SEO Tools to Dominate SEO Rankings vulnerabilities

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

REMEDIATION: Update to version 1.0.107.3, or a newer patched version --- IDENTIFIER: 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.

External References

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