CVE-2024-49314

10.0 CRITICAL

📋 TL;DR

This vulnerability allows attackers to upload arbitrary files, including web shells, to WordPress servers running the JiangQie Free Mini Program plugin. Attackers can gain full control of affected websites by uploading malicious PHP files. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • JiangQie Free Mini Program WordPress Plugin
Versions: n/a through 2.5.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with vulnerable plugin versions enabled.

⚠️ 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, defacement, malware distribution, and lateral movement to other systems.

🟠

Likely Case

Website takeover with backdoor installation, credential theft, and potential ransomware deployment.

🟢

If Mitigated

File uploads blocked or sanitized, preventing malicious file execution while maintaining plugin functionality.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP POST requests with malicious files can exploit this vulnerability without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.5.3 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/jiangqie-free-mini-program/wordpress-jiangqie-free-mini-program-plugin-2-5-2-arbitrary-file-upload-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update plugin to version 2.5.3 or later via WordPress admin panel. 2. Verify update completed successfully. 3. Test plugin functionality.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate jiangqie-free-mini-program

Web Server File Restriction

linux

Configure web server to block PHP file uploads to plugin directories.

location ~* /wp-content/plugins/jiangqie-free-mini-program/.*\.php$ { deny all; }

🧯 If You Can't Patch

  • Implement WAF rules to block file uploads containing PHP code
  • Restrict file upload permissions and implement file type validation

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel for plugin version 2.5.2 or earlier.

Check Version:

wp plugin get jiangqie-free-mini-program --field=version

Verify Fix Applied:

Confirm plugin version is 2.5.3 or later in WordPress admin.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to plugin directories
  • POST requests to upload endpoints with PHP files
  • Web shell access patterns in access logs

Network Indicators:

  • HTTP POST requests with file uploads to /wp-content/plugins/jiangqie-free-mini-program/
  • Unexpected outbound connections from web server

SIEM Query:

source="web_logs" AND (uri="/wp-content/plugins/jiangqie-free-mini-program/*" AND method="POST" AND file_extension="php")

🔗 References

📤 Share & Export