CVE-2024-43160

10.0 CRITICAL

📋 TL;DR

CVE-2024-43160 is an unauthenticated arbitrary file upload vulnerability in the BerqWP WordPress plugin that allows attackers to upload malicious files without authentication. This can lead to remote code execution, complete system compromise, and website defacement. All WordPress sites running BerqWP version 1.7.6 or earlier are affected.

💻 Affected Systems

Products:
  • BerqWP WordPress Plugin
Versions: n/a through 1.7.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable BerqWP versions are affected regardless of configuration.

⚠️ 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 takeover, data exfiltration, ransomware deployment, and use as pivot point for network attacks.

🟠

Likely Case

Website defacement, malware injection, backdoor installation, and credential theft.

🟢

If Mitigated

Limited impact with proper file upload restrictions, web application firewalls, and file integrity monitoring.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires no authentication and is trivial with publicly available proof-of-concept code.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.7 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/searchpro/wordpress-berqwp-plugin-1-7-6-unauthenticated-arbitrary-file-upload-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find BerqWP and click 'Update Now'. 4. Verify version is 1.7.7 or higher.

🔧 Temporary Workarounds

Disable BerqWP Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate berqwp

Restrict File Uploads via .htaccess

linux

Block PHP file uploads in WordPress uploads directory.

<FilesMatch "\.(php|php5|php7|phtml|phar)$">
    Order Deny,Allow
    Deny from all
</FilesMatch>

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file upload requests to vulnerable endpoints.
  • Enable file integrity monitoring on WordPress uploads directory and alert on new PHP file creation.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for BerqWP version ≤1.7.6.

Check Version:

wp plugin list --name=berqwp --field=version

Verify Fix Applied:

Confirm BerqWP version is 1.7.7 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • POST requests to /wp-content/plugins/berqwp/upload.php with file uploads
  • Unauthenticated file upload attempts
  • New PHP files in uploads directory

Network Indicators:

  • HTTP POST requests to vulnerable upload endpoints from untrusted sources
  • File uploads with PHP extensions

SIEM Query:

source="web_logs" AND (uri_path="/wp-content/plugins/berqwp/upload.php" OR uri_path="/wp-content/uploads/*.php") AND http_method="POST"

🔗 References

📤 Share & Export