Path TraversalWeakness · CWE-22

CVE-2023-23700

HIGH · 7.6 CVSS v3.1 Published 2024-05-17
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
82/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in OceanWP allows PHP Local File Inclusion.This issue affects OceanWP: from n/a through 3.4.1.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

OceanWP WordPress theme versions through 3.4.1 contain a path traversal vulnerability that allows PHP local file inclusion. An attacker can use directory traversal sequences (e.g., ../) in HTTP requests to access files outside the intended restricted directory, potentially exposing sensitive system files or executing arbitrary PHP code if the attacker can control the included file path.

MitigationUpdate OceanWP theme to the latest patched version once available, or implement strict input validation and whitelist-based path checking in the affected code to prevent directory traversal sequences.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify OceanWP theme version
    Check the version declared in the theme's style.css file located in wp-content/themes/oceanwp/ - look for the 'Version:' comment near the top of the file
    Affected if The version listed is 3.4.1 or any earlier version (e.g., 3.4.0, 3.3.0, etc.)
  2. Confirm theme is actively loaded
    Verify that the OceanWP theme is the currently active theme in your WordPress installation by checking the 'template' value in wp_options table or via WordPress admin appearance themes section
    Affected if OceanWP is the active parent theme and the version is 3.4.1 or earlier
  3. Review HTTP access logs for directory traversal patterns
    Search your web server access logs (typically in /var/log/apache2/ or /var/log/nginx/) for requests containing '../' sequences targeting the theme's PHP files, such as '?file=../' or similar path manipulation attempts
    Affected if Log entries show directory traversal attempts (../) to theme files indicating active exploitation attempts
  4. Check for unexpected files in theme directory
    List all PHP files in wp-content/themes/oceanwp/ and compare against a clean installation - look for newly created or modified PHP files that were not part of the original theme
    Affected if Unexpected PHP files exist that were not part of the original OceanWP theme distribution
  5. Inspect for backdoor code in theme functions
    Examine the theme's functions.php and common include files for suspicious code patterns such as base64_decode, eval(), preg_replace with /e modifier, or file inclusion functions using user-supplied input without validation
    Affected if Code contains dynamic file inclusion (include/require with variables derived from $_GET or $_REQUEST) without proper path sanitization

Your environment is affected if OceanWP theme version 3.4.1 or earlier is installed and active, particularly if web logs show directory traversal attempts or suspicious PHP files appear in the theme directory.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update OceanWP theme to the latest patched version once available, or implement strict input validation and whitelist-based path checking in the affected code to prevent directory traversal sequences.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,780
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-23700 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-23700 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data