CVE-2025-7749

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in code-projects Online Appointment Booking System 1.0 allows remote attackers to execute arbitrary SQL commands via the 'city' parameter in the /admin/getmanagerregion.php file. This can lead to unauthorized data access, modification, or deletion. All installations of version 1.0 with the vulnerable file accessible are affected.

💻 Affected Systems

Products:
  • code-projects Online Appointment Booking System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the /admin/getmanagerregion.php file to be accessible and the 'city' parameter to be processed.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, and potential remote code execution if database permissions allow.

🟠

Likely Case

Unauthorized access to sensitive appointment data, user information, and potential privilege escalation to administrative access.

🟢

If Mitigated

Limited impact with proper input validation and database permission restrictions in place.

🌐 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 and vuldb.com, making this easily exploitable.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider upgrading to a newer version if available, or implement workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement proper input validation and parameterized queries for the 'city' parameter in getmanagerregion.php

Modify /admin/getmanagerregion.php to use prepared statements with parameterized queries

Access Restriction

all

Restrict access to the vulnerable file using web server configuration

Add 'Deny from all' to .htaccess for /admin/getmanagerregion.php (Apache)
Use appropriate deny rules for nginx/IIS

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block SQL injection patterns targeting the 'city' parameter
  • Isolate the system from internet access and restrict to internal network only

🔍 How to Verify

Check if Vulnerable:

Test the /admin/getmanagerregion.php endpoint with SQL injection payloads in the 'city' parameter

Check Version:

Check system documentation or configuration files for version information

Verify Fix Applied:

Test that SQL injection attempts no longer succeed and return appropriate error messages

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in web server logs
  • Multiple requests to /admin/getmanagerregion.php with suspicious 'city' parameter values

Network Indicators:

  • HTTP requests containing SQL keywords (SELECT, UNION, etc.) in the 'city' parameter

SIEM Query:

source="web_server" AND uri="/admin/getmanagerregion.php" AND (city="*SELECT*" OR city="*UNION*" OR city="*OR*" OR city="*--*")

🔗 References

📤 Share & Export