CVE-2025-10836

7.3 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute SQL injection attacks against SourceCodester Pet Grooming Management Software 1.0 via the ID parameter in /admin/print1.php. Attackers can potentially access, modify, or delete database content. Organizations using this software are affected.

💻 Affected Systems

Products:
  • SourceCodester Pet Grooming Management Software
Versions: 1.0
Operating Systems: Any OS running PHP web server
Default Config Vulnerable: ⚠️ Yes
Notes: Requires PHP environment with database backend. The /admin/print1.php file must 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 via SQL injection to remote code execution.

🟠

Likely Case

Unauthorized database access allowing extraction of sensitive information like customer data, credentials, or business records.

🟢

If Mitigated

Limited impact if proper input validation and database permissions restrict damage, though some data exposure may still occur.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit code exists on GitHub. Attack requires web access to vulnerable endpoint.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.sourcecodester.com/

Restart Required: No

Instructions:

1. Check vendor website for updates. 2. If patch available, download and replace affected files. 3. Test functionality after update.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to sanitize ID parameter before SQL query

Modify /admin/print1.php to validate ID parameter as integer using filter_var($id, FILTER_VALIDATE_INT)

Web Application Firewall

all

Deploy WAF with SQL injection protection rules

Configure WAF to block SQL injection patterns targeting /admin/print1.php

🧯 If You Can't Patch

  • Block external access to /admin/print1.php using firewall rules or web server configuration
  • Implement database user with minimal permissions (read-only if possible) for the application

🔍 How to Verify

Check if Vulnerable:

Test /admin/print1.php with SQL injection payloads like ' OR '1'='1 in ID parameter

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Test same payloads after fix implementation; should return error or no data

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in web server logs
  • Unusual database queries from web application
  • Multiple failed parameter attempts to /admin/print1.php

Network Indicators:

  • HTTP requests to /admin/print1.php with SQL keywords in parameters
  • Unusual database traffic patterns

SIEM Query:

source="web_logs" AND uri="/admin/print1.php" AND (param="*sql*" OR param="*union*" OR param="*select*")

🔗 References

📤 Share & Export