CVE-2024-51790

10.0 CRITICAL

📋 TL;DR

This vulnerability allows attackers to upload arbitrary files, including web shells, to WordPress servers running the HB AUDIO GALLERY plugin. Attackers can gain complete control of affected websites. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress HB AUDIO GALLERY Plugin
Versions: All versions up to and including 3.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires plugin to be installed and active on WordPress site.

⚠️ 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 leading to data theft, ransomware deployment, or use as part of a botnet.

🟠

Likely Case

Website defacement, malware distribution, credential theft, and backdoor persistence.

🟢

If Mitigated

Limited impact if file uploads are blocked at WAF level or server permissions prevent execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP POST request with malicious file upload bypassing file type restrictions.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.0.1 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/hb-audio-gallery/wordpress-hb-audio-gallery-plugin-3-0-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 HB AUDIO GALLERY. 4. Click 'Update Now' if available. 5. If no update appears, manually download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the vulnerable plugin until patched.

wp plugin deactivate hb-audio-gallery

Block Upload Directory

linux

Prevent execution of uploaded files in wp-content/uploads/hb-audio-gallery directory.

chmod -R 644 /path/to/wp-content/uploads/hb-audio-gallery/*
find /path/to/wp-content/uploads/hb-audio-gallery -type f -name '*.php' -delete

🧯 If You Can't Patch

  • Immediately disable or remove the HB AUDIO GALLERY plugin from all WordPress installations.
  • Implement web application firewall rules to block file uploads to the affected plugin endpoints.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > HB AUDIO GALLERY version. If version is 3.0 or earlier, system is vulnerable.

Check Version:

wp plugin get hb-audio-gallery --field=version

Verify Fix Applied:

Confirm plugin version is 3.0.1 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • HTTP POST requests to /wp-content/plugins/hb-audio-gallery/upload.php with file uploads
  • Unusual file creations in wp-content/uploads/hb-audio-gallery/ directory

Network Indicators:

  • POST requests with Content-Type: multipart/form-data targeting plugin upload endpoints

SIEM Query:

source="web_logs" AND uri_path="/wp-content/plugins/hb-audio-gallery/upload.php" AND http_method="POST"

🔗 References

📤 Share & Export