CVE-2025-11330

6.3 MEDIUM

📋 TL;DR

This SQL injection vulnerability in PHPGurukul Beauty Parlour Management System 1.1 allows attackers to manipulate database queries through the fromdate/todate parameters in the sales reports module. Remote attackers can potentially access, modify, or delete sensitive data in the database. Organizations using this specific version of the software are affected.

💻 Affected Systems

Products:
  • PHPGurukul Beauty Parlour Management System
Versions: 1.1
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the admin/sales-reports-detail.php endpoint to be accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data destruction, or full system takeover through privilege escalation.

🟠

Likely Case

Unauthorized access to sensitive customer and business data stored in the database, potentially including personal information and financial records.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting unauthorized data access.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub. Attack requires access to the admin interface.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://phpgurukul.com/

Restart Required: No

Instructions:

1. Check vendor website for updates 2. Apply any available patches 3. Test functionality after patching

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement proper input validation and parameterized queries for fromdate/todate parameters

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting the vulnerable endpoint

🧯 If You Can't Patch

  • Restrict network access to the admin interface using firewall rules
  • Implement database user with minimal required permissions

🔍 How to Verify

Check if Vulnerable:

Test the /admin/sales-reports-detail.php endpoint with SQL injection payloads in fromdate/todate parameters

Check Version:

Check system documentation or configuration files for version information

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and proper input validation is implemented

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts to admin interface
  • Unexpected parameter values in web server logs

Network Indicators:

  • SQL injection patterns in HTTP requests to /admin/sales-reports-detail.php
  • Unusual database connection patterns

SIEM Query:

source="web_server" AND uri="/admin/sales-reports-detail.php" AND (param="fromdate" OR param="todate") AND (value="' OR" OR value="' UNION" OR value="' SELECT")

🔗 References

📤 Share & Export