CVE-2024-10733

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in Restaurant Order System 1.0 allows attackers to manipulate database queries through the uid parameter in /login.php. Attackers can potentially access, modify, or delete sensitive data including user credentials and order information. All systems running the vulnerable software are affected.

💻 Affected Systems

Products:
  • Restaurant Order System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with /login.php accessible

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, authentication bypass, remote code execution, or system takeover

🟠

Likely Case

Unauthorized data access, credential theft, and potential privilege escalation

🟢

If Mitigated

Limited impact with proper input validation and database permissions

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details publicly available on GitHub, SQL injection requires minimal technical skill

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

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

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to sanitize uid parameter

Modify /login.php to validate uid parameter using prepared statements or parameterized queries

Web Application Firewall

all

Deploy WAF with SQL injection protection rules

🧯 If You Can't Patch

  • Isolate the system behind a firewall with strict access controls
  • Implement network segmentation and monitor for suspicious database queries

🔍 How to Verify

Check if Vulnerable:

Test /login.php endpoint with SQL injection payloads in uid parameter

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Verify prepared statements are implemented and test with SQL injection payloads

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts with SQL syntax

Network Indicators:

  • HTTP requests to /login.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/login.php" AND (param="uid" AND value CONTAINS "UNION" OR value CONTAINS "SELECT" OR value CONTAINS "--")

🔗 References

📤 Share & Export