CVE-2025-13303

6.3 MEDIUM

📋 TL;DR

This CVE describes a SQL injection vulnerability in the Courier Management System 1.0 by code-projects. Attackers can remotely exploit the /search-edit.php file by manipulating the 'Consignment' parameter to execute arbitrary SQL commands. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • code-projects Courier Management System
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with /search-edit.php accessible and the Consignment parameter exposed.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access, data exfiltration, and potential privilege escalation within the application.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to non-sensitive data.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public disclosure available via GitHub and vuldb references. SQL injection is a well-understood attack vector with many automated tools available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

1. Check vendor website for updates. 2. If no patch available, implement workarounds. 3. Consider replacing with alternative software.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to sanitize the Consignment parameter before processing.

Modify /search-edit.php to validate Consignment parameter using prepared statements or parameterized queries.

Access Restriction

all

Restrict access to vulnerable endpoint using web server configuration.

Add 'Deny from all' to .htaccess for /search-edit.php or equivalent in nginx/other servers.

🧯 If You Can't Patch

  • Implement Web Application Firewall (WAF) with SQL injection rules
  • Isolate the system in a segmented network with strict access controls

🔍 How to Verify

Check if Vulnerable:

Test /search-edit.php endpoint with SQL injection payloads in Consignment parameter and observe database errors or unexpected behavior.

Check Version:

Check software version in admin panel or readme files; system is version 1.0.

Verify Fix Applied:

After implementing fixes, retest with SQL injection payloads to confirm they are properly blocked or sanitized.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL syntax errors in application logs
  • Multiple rapid requests to /search-edit.php with suspicious parameters

Network Indicators:

  • HTTP requests to /search-edit.php containing SQL keywords (SELECT, UNION, etc.) in parameters

SIEM Query:

source="web_logs" AND uri_path="/search-edit.php" AND (param="Consignment" AND value MATCHES "(?i)(SELECT|UNION|INSERT|DELETE|DROP|OR|AND)")

🔗 References

📤 Share & Export