CVE-2025-14195

6.3 MEDIUM

📋 TL;DR

This vulnerability allows remote attackers to upload arbitrary files to the Employee Profile Management System 1.0 via the /profiling/add_file_query.php endpoint. Organizations using this specific software version are affected, potentially enabling attackers to execute malicious code on the server.

💻 Affected Systems

Products:
  • code-projects Employee Profile Management System
Versions: 1.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the vulnerable /profiling/add_file_query.php endpoint accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise through remote code execution, data theft, and persistent backdoor installation.

🟠

Likely Case

Webshell deployment leading to unauthorized access, data exfiltration, and lateral movement within the network.

🟢

If Mitigated

Limited impact with proper file upload restrictions and web application firewalls in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit code is publicly available and requires minimal technical skill to execute.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://code-projects.org/

Restart Required: No

Instructions:

No official patch available. Consider removing or replacing the software.

🔧 Temporary Workarounds

Restrict File Uploads

all

Implement strict file type validation and size limits for uploads.

Modify PHP configuration: upload_max_filesize = 1M
Modify PHP configuration: post_max_size = 1M

Block Vulnerable Endpoint

linux

Use web server rules to block access to the vulnerable file.

Apache: <Location "/profiling/add_file_query.php"> Require all denied </Location>
Nginx: location ~ /profiling/add_file_query\.php { deny all; }

🧯 If You Can't Patch

  • Implement a Web Application Firewall (WAF) with file upload protection rules.
  • Isolate the system in a segmented network zone with strict outbound traffic controls.

🔍 How to Verify

Check if Vulnerable:

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

Check Version:

Check software documentation or configuration files for version information.

Verify Fix Applied:

Test file upload functionality with restricted file types and sizes.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /profiling/add_file_query.php
  • Execution of unexpected PHP files in upload directories

Network Indicators:

  • HTTP POST requests to /profiling/add_file_query.php with file attachments

SIEM Query:

source="web_server" AND uri="/profiling/add_file_query.php" AND method="POST"

🔗 References

📤 Share & Export