CVE-2025-9047

7.3 HIGH

📋 TL;DR

CVE-2025-9047 is a SQL injection vulnerability in Projectworlds Visitor Management System 1.0 that allows remote attackers to execute arbitrary SQL commands via the 'rid' parameter in the /visitor_out.php file. This affects all users running the vulnerable version of this visitor management software. Successful exploitation could lead to data theft, data manipulation, or complete system compromise.

💻 Affected Systems

Products:
  • Projectworlds Visitor Management System
Versions: 1.0
Operating Systems: Any OS running PHP and MySQL/MariaDB
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all installations of version 1.0 with the vulnerable /visitor_out.php file present.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data exfiltration, data destruction, or remote code execution if database permissions allow.

🟠

Likely Case

Unauthorized access to sensitive visitor data, modification of visitor records, or extraction of database credentials.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and affects a web-facing application component.
🏢 Internal Only: MEDIUM - While still exploitable internally, the attack surface is reduced compared to internet-facing deployments.

🎯 Exploit Status

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

The exploit has been publicly disclosed and requires minimal technical skill to execute.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Consider migrating to alternative software or implementing workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add server-side validation to ensure 'rid' parameter contains only expected values (integers)

Modify /visitor_out.php to validate rid parameter: if(!is_numeric($_GET['rid'])) { die('Invalid input'); }

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns in the rid parameter

Add WAF rule: Detect and block SQL injection patterns in GET parameters

🧯 If You Can't Patch

  • Remove or restrict access to /visitor_out.php file via web server configuration
  • Implement network segmentation to isolate the visitor management system from sensitive databases

🔍 How to Verify

Check if Vulnerable:

Check if /visitor_out.php exists and accepts rid parameter without proper validation

Check Version:

Check software version in admin panel or readme files

Verify Fix Applied:

Test that rid parameter now rejects non-numeric input or uses parameterized queries

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts following SQL injection patterns
  • HTTP requests with SQL keywords in rid parameter

Network Indicators:

  • HTTP requests containing SQL injection payloads in GET parameters
  • Unusual database traffic from web server

SIEM Query:

source="web_logs" AND uri="/visitor_out.php" AND (query="*SELECT*" OR query="*UNION*" OR query="*OR 1=1*")

🔗 References

📤 Share & Export