CVE-2024-10607

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in Courier Management System 1.0 allows remote attackers to execute arbitrary SQL commands via the 'Consignment' parameter in /track-result.php. This can lead to unauthorized data access, modification, or deletion. All systems running the vulnerable version are affected.

💻 Affected Systems

Products:
  • Courier Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation and requires no special configuration to be exploitable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, and potential server takeover via SQL injection to RCE chaining.

🟠

Likely Case

Unauthorized access to sensitive shipment data, customer information, and potential database manipulation.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to specific tables.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily weaponizable by attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation and parameterized queries as workaround.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation for the Consignment parameter to reject SQL special characters

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting /track-result.php

🧯 If You Can't Patch

  • Implement network segmentation to restrict access to the vulnerable system
  • Deploy database monitoring to detect SQL injection attempts

🔍 How to Verify

Check if Vulnerable:

Test /track-result.php with SQL injection payloads in Consignment parameter

Check Version:

Check system documentation or configuration files for version information

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and return proper error handling

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed parameter validation attempts

Network Indicators:

  • HTTP requests to /track-result.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/track-result.php" AND (param="Consignment" AND value CONTAINS "UNION" OR value CONTAINS "SELECT" OR value CONTAINS "--")

🔗 References

📤 Share & Export