CVE-2025-48140

9.9 CRITICAL

📋 TL;DR

This CVE describes a critical code injection vulnerability in the MetalpriceAPI WordPress plugin that allows remote code execution. Attackers can inject arbitrary code that gets executed on the server, potentially compromising the entire WordPress installation. All WordPress sites using MetalpriceAPI versions up to 1.1.4 are affected.

💻 Affected Systems

Products:
  • MetalpriceAPI WordPress Plugin
Versions: All versions up to and including 1.1.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the MetalpriceAPI plugin active. No special configuration needed for exploitation.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server compromise allowing attackers to execute arbitrary commands, install malware, steal sensitive data, deface websites, or pivot to other systems on the network.

🟠

Likely Case

Website defacement, data theft, installation of backdoors or cryptocurrency miners, and potential credential harvesting from the WordPress database.

🟢

If Mitigated

Limited impact if proper web application firewalls, input validation, and least privilege principles are implemented, though the vulnerability remains exploitable.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

The vulnerability is publicly documented with technical details available, making exploitation straightforward for attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/metalpriceapi/vulnerability/wordpress-metalpriceapi-1-1-4-remote-code-execution-rce-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find MetalpriceAPI and click 'Update Now'. 4. Verify update to version 1.1.5 or higher. 5. Test plugin functionality.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate metalpriceapi

Web Application Firewall Rule

linux

Block requests to vulnerable plugin endpoints

# Add to .htaccess for Apache:
RewriteRule ^wp-content/plugins/metalpriceapi/.*$ - [F,L]
# Add to nginx config:
location ~* /wp-content/plugins/metalpriceapi/ { deny all; }

🧯 If You Can't Patch

  • Remove the MetalpriceAPI plugin completely from the WordPress installation
  • Implement strict network segmentation and limit outbound connections from the web server

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for MetalpriceAPI version ≤1.1.4

Check Version:

wp plugin get metalpriceapi --field=version

Verify Fix Applied:

Confirm MetalpriceAPI plugin version is 1.1.5 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-content/plugins/metalpriceapi/ endpoints
  • PHP execution errors containing suspicious code patterns
  • Unexpected process execution from web server user

Network Indicators:

  • Outbound connections to suspicious IPs from web server
  • Unusual traffic patterns to plugin-specific endpoints

SIEM Query:

source="web_server_logs" AND uri="/wp-content/plugins/metalpriceapi/*" AND (method="POST" OR status_code>=400)

🔗 References

📤 Share & Export