CVE-2025-5322

7.2 HIGH

📋 TL;DR

The VikRentCar WordPress plugin up to version 1.4.3 allows authenticated administrators to upload arbitrary files due to missing file type validation. This vulnerability can lead to remote code execution on affected WordPress sites. Only sites using vulnerable versions of the VikRentCar plugin are affected.

💻 Affected Systems

Products:
  • VikRentCar Car Rental Management System WordPress Plugin
Versions: All versions up to and including 1.4.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires attacker to have administrator-level WordPress access. Plugin must be active and vulnerable version installed.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers with administrator access upload malicious PHP files and achieve full server compromise, leading to data theft, site defacement, or ransomware deployment.

🟠

Likely Case

Attackers upload web shells to maintain persistent access, steal sensitive data, or use the server for malicious activities like cryptocurrency mining.

🟢

If Mitigated

With proper file upload restrictions and administrator account security, impact is limited to unauthorized file storage without execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires administrator credentials but is technically simple once authenticated. Attackers can use standard file upload techniques.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4.4 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3317493/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find VikRentCar plugin. 4. Click 'Update Now' if update available. 5. If no update appears, manually download version 1.4.4+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Restrict File Uploads via .htaccess

all

Block execution of uploaded files in the uploads directory

Add to .htaccess in wp-content/uploads/vikrentcar/: <FilesMatch "\.(php|php5|php7|phtml|phar)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

Remove Administrator Access

all

Temporarily disable or limit administrator accounts until patch applied

Use WordPress user management to disable unnecessary admin accounts or implement two-factor authentication

🧯 If You Can't Patch

  • Deactivate the VikRentCar plugin completely until patched
  • Implement web application firewall rules to block suspicious file uploads to /wp-content/uploads/vikrentcar/

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for VikRentCar version. If version is 1.4.3 or lower, system is vulnerable.

Check Version:

WordPress admin: Plugins > Installed Plugins, or check file /wp-content/plugins/vikrentcar/vikrentcar.php for version header

Verify Fix Applied:

Verify VikRentCar plugin version is 1.4.4 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /wp-content/uploads/vikrentcar/
  • POST requests to admin-ajax.php with do_updatecar or createcar actions
  • Administrator account logins from unusual locations

Network Indicators:

  • HTTP POST requests with file uploads to WordPress admin endpoints
  • Traffic to unexpected PHP files in uploads directory

SIEM Query:

source="web_logs" AND (uri_path="/wp-admin/admin-ajax.php" AND (param_action="do_updatecar" OR param_action="createcar")) OR (uri_path CONTAINS "/wp-content/uploads/vikrentcar/" AND file_extension IN ("php", "php5", "phtml"))

🔗 References

📤 Share & Export