CVE-2025-58898

8.2 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress HealthHub theme users running versions up to and including 1.3.0, potentially leading to sensitive file disclosure or code execution.

💻 Affected Systems

Products:
  • AncoraThemes HealthHub WordPress Theme
Versions: n/a through <= 1.3.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with HealthHub theme active.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete server compromise, data theft, and website defacement.

🟠

Likely Case

Sensitive file disclosure including configuration files, database credentials, and user data.

🟢

If Mitigated

Limited impact with proper file permissions and web server restrictions in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple path traversal techniques can exploit this vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >1.3.0

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/healthhub/vulnerability/wordpress-healthhub-theme-1-3-0-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update HealthHub theme to latest version. 2. If update unavailable, remove theme and replace with secure alternative. 3. Clear WordPress cache after update.

🔧 Temporary Workarounds

Disable PHP Include Paths

linux

Restrict PHP's ability to include files from arbitrary paths

php_admin_value open_basedir /var/www/html
php_admin_value allow_url_include Off

Web Server Restrictions

all

Configure web server to block directory traversal attempts

RewriteCond %{REQUEST_URI} \.\. [NC]
RewriteRule .* - [F]

🧯 If You Can't Patch

  • Remove HealthHub theme and replace with alternative secure theme
  • Implement WAF rules to block path traversal patterns

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel for HealthHub theme version <=1.3.0

Check Version:

wp theme list --field=name,version | grep healthhub

Verify Fix Applied:

Confirm HealthHub theme version >1.3.0 is installed

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path patterns in access logs
  • Multiple 404 errors for non-existent theme files
  • PHP include/require errors with path traversal

Network Indicators:

  • HTTP requests containing '../' patterns
  • Requests to theme files with unusual parameters

SIEM Query:

source="web_access" AND (uri="*../*" OR uri="*..%2f*") AND uri="*healthhub*"

🔗 References

📤 Share & Export