CVE-2025-10828

6.3 MEDIUM

📋 TL;DR

This SQL injection vulnerability in SourceCodester Pet Grooming Management Software allows attackers to manipulate database queries through the ID parameter in /admin/edit.php. Organizations using version 1.0 of this software are affected, potentially enabling unauthorized data access or modification. The vulnerability can be exploited remotely without authentication.

💻 Affected Systems

Products:
  • SourceCodester Pet Grooming Management Software
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the admin interface at /admin/edit.php specifically

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, or potential remote code execution if database permissions allow.

🟠

Likely Case

Unauthorized access to sensitive pet owner data, appointment records, and business information stored in the database.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily exploitable

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: UNKNOWN

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

Restart Required: No

Instructions:

No official patch available. Implement input validation and parameterized queries in /admin/edit.php

🔧 Temporary Workarounds

Web Application Firewall

all

Deploy WAF with SQL injection rules to block malicious requests

Input Validation

all

Add server-side validation to ensure ID parameter contains only numeric values

🧯 If You Can't Patch

  • Restrict access to /admin/edit.php using IP whitelisting or authentication
  • Implement database user with minimal necessary permissions

🔍 How to Verify

Check if Vulnerable:

Test /admin/edit.php with SQL injection payloads in ID parameter

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Verify parameterized queries are implemented and input validation rejects non-numeric ID values

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed login attempts to admin panel

Network Indicators:

  • SQL keywords in HTTP POST requests to /admin/edit.php
  • Unusual database query patterns

SIEM Query:

source="web_logs" AND uri="/admin/edit.php" AND (request_body CONTAINS "UNION" OR request_body CONTAINS "SELECT" OR request_body CONTAINS "INSERT")

🔗 References

📤 Share & Export