CVE-2023-44166

9.8 CRITICAL

📋 TL;DR

This is a SQL injection vulnerability in the 'age' parameter of process_registration.php that allows attackers to execute arbitrary SQL commands on the database. Any system running the vulnerable software with this endpoint exposed is affected, potentially leading to complete database compromise.

💻 Affected Systems

Products:
  • ProjectWorlds.in software with process_registration.php
Versions: All versions prior to patch
Operating Systems: All platforms running PHP with database backend
Default Config Vulnerable: ⚠️ Yes
Notes: Affects any installation using the vulnerable process_registration.php file with database interaction.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full database compromise including data theft, data manipulation, privilege escalation, and potential remote code execution on the database server.

🟠

Likely Case

Data exfiltration, authentication bypass, and unauthorized access to sensitive user information stored in the database.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries preventing SQL injection.

🌐 Internet-Facing: HIGH - The vulnerability is in a registration endpoint typically exposed to the internet, making it easily accessible to attackers.
🏢 Internal Only: MEDIUM - If only accessible internally, risk is reduced but still significant for authenticated users or attackers who gain internal access.

🎯 Exploit Status

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

SQL injection vulnerabilities are commonly weaponized and this appears to be a straightforward parameter manipulation attack.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown specific version - check vendor advisory

Vendor Advisory: https://projectworlds.in/

Restart Required: No

Instructions:

1. Download latest version from vendor. 2. Replace vulnerable process_registration.php. 3. Implement parameterized queries. 4. Add input validation for age parameter.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to only accept numeric values for age parameter

Add to process_registration.php: if(!is_numeric($_POST['age'])) { die('Invalid input'); }

WAF Rule

all

Block SQL injection patterns in age parameter

Configure WAF to block patterns like UNION, SELECT, INSERT, DELETE, DROP in age parameter

🧯 If You Can't Patch

  • Implement web application firewall with SQL injection rules
  • Disable or restrict access to process_registration.php endpoint

🔍 How to Verify

Check if Vulnerable:

Test age parameter with SQL injection payload: age=1' OR '1'='1

Check Version:

Check PHP file modification date and compare with vendor's patched version

Verify Fix Applied:

Test with same payload - should receive error or rejection instead of successful SQL execution

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed registration attempts with SQL syntax
  • Age parameter containing SQL keywords

Network Indicators:

  • HTTP POST requests to process_registration.php with SQL injection patterns in age parameter

SIEM Query:

source="web_logs" AND uri="/process_registration.php" AND (age="*UNION*" OR age="*SELECT*" OR age="*INSERT*")

🔗 References

📤 Share & Export