CVE-2025-45947

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on systems running phpgurukul Online Banquet Booking System V1.2. Attackers can exploit the change-password.php file to inject and execute malicious code, potentially compromising the entire server. Organizations using this specific version of the banquet booking system are affected.

💻 Affected Systems

Products:
  • phpgurukul Online Banquet Booking System
Versions: V1.2
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Any installation of version 1.2 is vulnerable regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server takeover with attacker gaining full control over the system, installing backdoors, stealing sensitive data, and using the server as a pivot point for further attacks.

🟠

Likely Case

Attacker executes arbitrary code to deface websites, install cryptocurrency miners, or steal database credentials and customer information.

🟢

If Mitigated

If proper network segmentation and web application firewalls are in place, exploitation may be limited to the web application container with minimal lateral movement.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

The GitHub reference contains exploit details, making this easily weaponizable by attackers with basic skills.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: http://phpgurukul.com

Restart Required: No

Instructions:

Check vendor website for updates. If no patch exists, consider migrating to alternative software or implementing workarounds.

🔧 Temporary Workarounds

Block access to vulnerable endpoint

all

Restrict access to /obbs/change-password.php file using web server configuration

# Apache: RewriteEngine On
RewriteRule ^obbs/change-password\.php$ - [F,L]
# Nginx: location ~ ^/obbs/change-password\.php$ { deny all; }

Implement WAF rules

all

Configure web application firewall to block suspicious requests to the change password endpoint

🧯 If You Can't Patch

  • Isolate the system on a separate network segment with strict firewall rules
  • Implement strict input validation and sanitization for all user inputs in the application

🔍 How to Verify

Check if Vulnerable:

Check if /obbs/change-password.php exists and version is 1.2. Review application files for version information.

Check Version:

Check application files for version markers or review README/configuration files

Verify Fix Applied:

Test if the vulnerable endpoint no longer accepts malicious input or has been properly secured.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /obbs/change-password.php
  • Multiple failed change password attempts from single IP
  • System commands in web server logs

Network Indicators:

  • Unusual outbound connections from web server
  • Traffic patterns indicating command and control communication

SIEM Query:

source="web_server" AND (uri="/obbs/change-password.php" AND (method="POST" OR suspicious_patterns))

🔗 References

📤 Share & Export