CVE-2025-4923

7.3 HIGH

📋 TL;DR

This critical vulnerability in SourceCodester Client Database Management System 1.0 allows remote attackers to upload arbitrary files via the /user_delivery_update.php endpoint. The unrestricted file upload can lead to remote code execution, affecting all users running this software.

💻 Affected Systems

Products:
  • SourceCodester Client Database Management System
Versions: 1.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the default installation with no specific configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, data theft, and potential lateral movement within the network.

🟠

Likely Case

Webshell deployment allowing persistent backdoor access, data exfiltration, and further exploitation of the server.

🟢

If Mitigated

Limited impact if file uploads are restricted to specific directories with proper permissions and execution disabled.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and a public exploit exists.
🏢 Internal Only: MEDIUM - Still exploitable from within the network but requires internal access.

🎯 Exploit Status

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

Exploit code is publicly available on GitHub, making this easily weaponizable.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.sourcecodester.com/

Restart Required: No

Instructions:

No official patch available. Consider removing the software or implementing workarounds.

🔧 Temporary Workarounds

Restrict File Uploads

all

Implement strict file type validation and limit uploads to specific extensions.

# Modify /user_delivery_update.php to validate file extensions and MIME types

Disable PHP Execution in Upload Directory

linux

Prevent uploaded files from being executed as PHP scripts.

# Add to .htaccess in upload directory: php_flag engine off
# Or use: RemoveHandler .php .phtml .php3 .php4 .php5 .php7

🧯 If You Can't Patch

  • Remove or block access to /user_delivery_update.php endpoint
  • Implement web application firewall rules to block file uploads to vulnerable endpoint

🔍 How to Verify

Check if Vulnerable:

Check if /user_delivery_update.php exists and accepts file uploads without proper validation.

Check Version:

# Check version in application files or database configuration

Verify Fix Applied:

Test file upload functionality with malicious extensions to ensure proper validation.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /user_delivery_update.php
  • PHP file execution from upload directories

Network Indicators:

  • POST requests to /user_delivery_update.php with file uploads
  • Subsequent connections to uploaded files

SIEM Query:

source="web_logs" AND uri="/user_delivery_update.php" AND method="POST" AND file_upload="true"

🔗 References

📤 Share & Export