CVE-2025-10806
📋 TL;DR
This SQL injection vulnerability in Campcodes Online Beauty Parlor Management System 1.0 allows attackers to manipulate database queries through the fromdate/todate parameters in the admin interface. Organizations using this specific software version are affected, particularly those with internet-facing installations. Successful exploitation could lead to unauthorized data access or system compromise.
💻 Affected Systems
- Campcodes Online Beauty Parlor Management System
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Complete database compromise leading to data theft, privilege escalation, or system takeover
Likely Case
Unauthorized access to sensitive customer and business data stored in the database
If Mitigated
Limited impact with proper input validation and database permissions in place
🎯 Exploit Status
Exploit details are publicly available on GitHub, requiring admin access but with known attack vectors
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: UNKNOWN
Vendor Advisory: https://www.campcodes.com/
Restart Required: No
Instructions:
No official patch available. Implement input validation and parameterized queries in the affected PHP file.
🔧 Temporary Workarounds
Input Validation and Sanitization
allAdd proper input validation and sanitization for fromdate/todate parameters
Edit /admin/bwdates-reports-details.php to implement parameterized queries or input filtering
Web Application Firewall
allDeploy WAF with SQL injection protection rules
🧯 If You Can't Patch
- Restrict access to /admin/ directory to trusted IP addresses only
- Implement database user with minimal required permissions
🔍 How to Verify
Check if Vulnerable:
Test the /admin/bwdates-reports-details.php endpoint with SQL injection payloads in fromdate/todate parameters
Check Version:
Check software version in admin panel or configuration files
Verify Fix Applied:
Verify that SQL injection attempts no longer succeed and input validation is properly implemented
📡 Detection & Monitoring
Log Indicators:
- Unusual SQL queries in database logs
- Multiple failed login attempts to admin interface
- Suspicious parameter values in web server logs
Network Indicators:
- SQL injection patterns in HTTP requests to /admin/bwdates-reports-details.php
SIEM Query:
source="web_server" AND uri="/admin/bwdates-reports-details.php" AND (param="fromdate" OR param="todate") AND (value="' OR" OR value="--" OR value="UNION")
🔗 References
- https://github.com/fubxx/CVE/blob/main/Online%20Beauty%20Parlor%20Management%20System%20SQL%20Injection%20on%20bwdates-reports-details.php%20.md
- https://vuldb.com/?ctiid.325164
- https://vuldb.com/?id.325164
- https://vuldb.com/?submit.654375
- https://www.campcodes.com/
- https://github.com/fubxx/CVE/blob/main/Online%20Beauty%20Parlor%20Management%20System%20SQL%20Injection%20on%20bwdates-reports-details.php%20.md