CVE-2025-7606

7.3 HIGH

📋 TL;DR

CVE-2025-7606 is a critical SQL injection vulnerability in code-projects AVL Rooms 1.0 that allows remote attackers to execute arbitrary SQL commands via the 'city' parameter in /city.php. This affects all users running AVL Rooms 1.0, potentially leading to data theft, modification, or system compromise.

💻 Affected Systems

Products:
  • code-projects AVL Rooms
Versions: 1.0
Operating Systems: All platforms running the web application
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of AVL Rooms 1.0 are vulnerable. The vulnerability exists in the default configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data exfiltration, data destruction, privilege escalation to system-level access, and potential remote code execution.

🟠

Likely Case

Unauthorized access to sensitive data in the database, including user credentials, personal information, and business data.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and network segmentation preventing database access.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and affects a web application component.
🏢 Internal Only: MEDIUM - Internal systems could still be vulnerable if attackers gain network access.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily exploitable by attackers with basic SQL injection knowledge.

🛠️ 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 in /city.php or migrating to a different solution.

🔧 Temporary Workarounds

Web Application Firewall (WAF) Rules

all

Implement WAF rules to block SQL injection patterns targeting the /city.php endpoint and 'city' parameter.

Input Validation Filter

all

Add server-side input validation to sanitize the 'city' parameter before processing.

🧯 If You Can't Patch

  • Isolate the AVL Rooms application behind a reverse proxy with strict input filtering
  • Implement network segmentation to restrict database access from the web application server

🔍 How to Verify

Check if Vulnerable:

Test the /city.php endpoint with SQL injection payloads in the 'city' parameter (e.g., city=test' OR '1'='1). Monitor for database errors or unexpected responses.

Check Version:

Check the application version in the admin panel or configuration files. Look for version 1.0.

Verify Fix Applied:

Verify that SQL injection payloads no longer execute and that input validation is properly implemented in /city.php.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts following SQL injection patterns
  • HTTP requests to /city.php with suspicious parameters

Network Indicators:

  • Unusual outbound database connections from web server
  • SQL error messages in HTTP responses

SIEM Query:

source="web_logs" AND uri="/city.php" AND (param="city" AND value MATCH "[';]|OR|UNION|SELECT")

🔗 References

📤 Share & Export