CVE-2025-3172

7.3 HIGH

📋 TL;DR

A critical SQL injection vulnerability exists in Project Worlds Online Lawyer Management System 1.0 via the unblock_id parameter in lawyer_booking.php. This allows remote attackers to execute arbitrary SQL commands on the database. All users running version 1.0 of this software are affected.

💻 Affected Systems

Products:
  • Project Worlds Online Lawyer Management System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all installations of version 1.0 regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, authentication bypass, and potential remote code execution via database functions.

🟠

Likely Case

Data exfiltration of sensitive client/lawyer information, database manipulation, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries 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 and SQL injection is a well-understood attack vector.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None known

Restart Required: No

Instructions:

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

🔧 Temporary Workarounds

Implement Input Validation

all

Add server-side validation to ensure unblock_id parameter contains only expected values (e.g., numeric IDs).

Use Parameterized Queries

all

Modify lawyer_booking.php to use prepared statements with parameterized queries instead of string concatenation.

🧯 If You Can't Patch

  • Implement WAF rules to block SQL injection patterns targeting the unblock_id parameter
  • Restrict access to lawyer_booking.php to authorized users only using authentication

🔍 How to Verify

Check if Vulnerable:

Test the unblock_id parameter in lawyer_booking.php with SQL injection payloads (e.g., ' OR '1'='1).

Check Version:

Check software version in admin panel or configuration files.

Verify Fix Applied:

Verify that parameterized queries are implemented and input validation rejects malicious payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in application logs
  • Multiple failed login attempts following SQL injection patterns

Network Indicators:

  • HTTP requests to lawyer_booking.php with SQL keywords in parameters
  • Unusual database query patterns

SIEM Query:

source="web_logs" AND uri="/lawyer_booking.php" AND (param="unblock_id" AND value MATCHES "(?i)(union|select|insert|update|delete|drop|--|#|;)")

🔗 References

📤 Share & Export